/* Retro Dialog Container */
.retro-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 300px;
    background: #c0c0c0;
    border: 2px solid #000;
    transform: translate(-50%, -50%);
    z-index: 10000;
    font-family: "MS Sans Serif", sans-serif;
    box-shadow: 4px 4px 0 #000;
}

/* Hidden by default */
.hidden {
    display: none;
}

/* Dialog Title Bar */
.dialog-title-bar {
    background: #0078d4;
    color: white;
    padding: 5px;
    font-weight: bold;
    text-align: center;
}

/* Dialog Content */
.dialog-content {
    position: relative;
    padding: 15px;
}

/* Icon Placement */
.dialog-icon {
    position: absolute;
    top: 10px;
    /* Close to the top-left corner */
    left: 10px;
    width: 40px;
    height: 40px;
    /* Classic size */
    image-rendering: pixelated;
    /* Pixelated for retro look */
}

/* Text Placement */
.dialog-text {
    /* margin-left: 50px; */
    /* Offset to avoid overlapping the icon */
    text-align: center;
    /* Center the text within the remaining space */
}

/* Dialog Icon Container */
.dialog-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    /* Add spacing between the icon and the text */
}

/* Dialog Body */
.dialog-body {
    display: flex;
    align-items: center;
    /* Vertically align the icon and text */
    gap: 15px;
    /* Space between the icon and the text */
    text-align: left;
    /* Ensure the dialog text aligns naturally */
}

.dialog-content .retro-button {
    display: block; /* Allow centering with margin auto */
    margin: 10px auto 0 auto; /* Center horizontally and add spacing */
}

/* Track List (Scrolling Effect) */
.track-list {
    height: 50px;
    overflow: hidden;
    font-size: 12px;
    color: #333;
    margin-bottom: 10px;
}

.track-list p {
    animation: scroll-tracks 3s linear infinite;
    white-space: nowrap;
}

/* Scrolling Tracks Animation */
@keyframes scroll-tracks {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-100%);
    }
}

/* Progress Bar Styles */
.progress-bar {
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, #3a4e5d, #77b3e7, #f8fbff);
    border: 1px solid #7ba4d9;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: repeating-linear-gradient(-45deg,
            #278213,
            #278213 10px,
            #11af2c 10px,
            #11af2c 20px);
    animation: xp-stripes 1s linear infinite;
    transition: width 0.1s linear;
}

/* Retro Button */
.retro-button {
    padding: 5px 10px;
    border: 1px solid #444;
    background: #ddd;
    color: black;
    font-size: 12px;
    cursor: pointer;
}

.retro-button:hover {
    background: #bbb;
}





.rip-body {
    font-family: "Arial", sans-serif;
    /* background: url('retro_bg.jpg') no-repeat center center fixed; */
    background-size: cover;
    margin: 0;
    overflow: hidden;
}

.rip-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(to bottom, #ddd, #aaa);
    border: 2px solid #444;
    border-radius: 3px;
    padding: 10px 20px;
    font-family: "MS Sans Serif", sans-serif;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    text-align: center;
    z-index: 1000;
}

.rip-button:active {
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to top, #ddd, #aaa);
}