/* EOD Revision Request System Styles */

/* Google Font - Outfit */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Color Palette */
:root {
    --eod-rev-bg-dark: #121212;
    --eod-rev-pink: #de668b;
    --eod-rev-purple: #3d155d;
    --eod-rev-white: #ffffff;
    --eod-rev-cream: #f8f6f0;
    --eod-rev-gray-light: #e0e0e0;
    --eod-rev-gray-medium: #9e9e9e;
    --eod-rev-gray-dark: #424242;
    --eod-rev-success: #4caf50;
    --eod-rev-warning: #ff9800;
    --eod-rev-error: #f44336;
    --eod-rev-shadow: rgba(0, 0, 0, 0.1);
    --eod-rev-border-radius: 8px;
    --eod-rev-transition: all 0.3s ease;
    --eod-rev-font-family: 'Outfit', sans-serif;
}

/* Base Font for All Elements */
.eod-rev-countdown-container,
.eod-rev-countdown-container *,
.eod-rev-modal,
.eod-rev-modal * {
    font-family: var(--eod-rev-font-family);
}

/* Preserve Font Awesome icons */
.eod-rev-countdown-container i,
.eod-rev-countdown-container .fas,
.eod-rev-countdown-container .far,
.eod-rev-countdown-container .fab,
.eod-rev-modal i,
.eod-rev-modal .fas,
.eod-rev-modal .far,
.eod-rev-modal .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* Error Message */
.eod-rev-error {
    color: var(--eod-rev-error);
    background-color: rgba(244, 67, 54, 0.1);
    padding: 15px;
    border-radius: var(--eod-rev-border-radius);
    border: 1px solid var(--eod-rev-error);
    text-align: center;
    font-weight: 600;
    font-family: var(--eod-rev-font-family);
}

/* Countdown Container */
.eod-rev-countdown-container {
    width: 100%;
}

/* Countdown Box */
.eod-rev-countdown-box {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 30px;
    padding: 25px 15px 25px 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--eod-rev-pink);
}

.eod-rev-countdown-header {
    text-align: center;
    margin-bottom: 10px;
}

.eod-rev-countdown-header i {
    font-size: 36px;
    color: var(--eod-rev-pink);
    margin-bottom: 8px;
    display: block;
}

.eod-rev-countdown-header h3 {
    color: var(--eod-rev-white);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Countdown Timer */
.eod-rev-countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.eod-rev-time-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.eod-rev-time-value {
    font-size: 25px;
    font-weight: 700;
    color: var(--eod-rev-pink);
    line-height: 1;
    font-family: var(--eod-rev-font-family);
    text-shadow: 0 0 10px rgba(222, 102, 139, 0.5);
}

.eod-rev-time-label {
    font-size: 9px;
    color: var(--eod-rev-gray-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
    font-weight: 600;
}

.eod-rev-time-separator {
    font-size: 24px;
    font-weight: 700;
    color: var(--eod-rev-gray-medium);
    margin: 0 3px;
}

/* Button Section */
.eod-rev-button-section {
    text-align: center;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.eod-rev-request-btn {
    background: linear-gradient(135deg, var(--eod-rev-pink), var(--eod-rev-purple));
    color: var(--eod-rev-white);
    border: none !important;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--eod-rev-transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(222, 102, 139, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eod-rev-request-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(222, 102, 139, 0.6);
}

.eod-rev-request-btn:not(:disabled):active {
    transform: translateY(0);
}

.eod-rev-request-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #424242;
    box-shadow: none;
}

.eod-rev-request-btn i {
    font-size: 20px;
}

.eod-rev-btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--eod-rev-white);
    border-radius: 50%;
    animation: eod-rev-spin 1s linear infinite;
}

.eod-rev-deadline-message {
    margin-top: 15px;
    padding: 12px 20px;
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid var(--eod-rev-error);
    border-radius: var(--eod-rev-border-radius);
    color: var(--eod-rev-error);
    font-weight: 600;
    display: inline-block;
}

.eod-rev-deadline-message i {
    margin-right: 8px;
}

/* Modal Styles */
.eod-rev-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: eod-rev-fade-in 0.3s ease-out;
    margin: 0 !important;
    padding: 0 !important;
}

.eod-rev-modal-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.eod-rev-modal-content {
    background-color: var(--eod-rev-bg-dark);
    border-radius: 33px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative !important;
    z-index: 2 !important;
    border: 2px solid var(--eod-rev-pink);
    animation: eod-rev-slide-in 0.3s ease-out;
}

.eod-rev-confirm-content {
    max-width: 500px;
}

.eod-rev-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #3a3a3a;
    background: linear-gradient(135deg, var(--eod-rev-pink), var(--eod-rev-purple));
    border-radius: 30px 30px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eod-rev-modal-header h2,
.eod-rev-modal-header h3 {
    margin: 0;
    color: var(--eod-rev-white);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eod-rev-modal-header h2 i,
.eod-rev-modal-header h3 i {
    margin-right: 0px;
}

.eod-rev-modal-close {
    background: var(--eod-rev-pink) !important;
    border: none !important;
    color: var(--eod-rev-white);
    font-size: 25px;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: var(--eod-rev-transition);
    flex-shrink: 0;
}

.eod-rev-modal-close:hover {
    background: #242424 !important;
    border: none !important;
    color: var(--eod-rev-white);
    transform: rotate(90deg);
}

.eod-rev-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
    color: var(--eod-rev-white);
}

.eod-rev-modal-body p {
    margin: 0 0 15px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

.eod-rev-modal-body p:last-child {
    margin-bottom: 0;
}

.eod-rev-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #3a3a3a;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

/* Loading Spinner */
.eod-rev-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 15px;
}

.eod-rev-spinner-circle {
    width: 60px;
    height: 60px;
    border: 8px solid rgba(222, 102, 139, 0.2);
    border-top: 8px solid var(--eod-rev-pink);
    border-radius: 50%;
    animation: eod-rev-spin 1s linear infinite;
}

.eod-rev-loading-text {
    color: var(--eod-rev-gray-medium);
    font-size: 16px;
    font-weight: 600;
}

/* Instructions */
.eod-rev-instructions {
    background-color: rgba(222, 102, 139, 0.1);
    border-left: 4px solid var(--eod-rev-pink);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--eod-rev-border-radius);
    color: var(--eod-rev-white);
    font-size: 14px;
    line-height: 1.6;
}

/* Track Item */
.eod-rev-track-item {
    background-color: #242424;
    border-radius: 15px;
    margin-bottom: 20px;
    padding: 20px;
    border: 2px solid #242424;
    transition: var(--eod-rev-transition);
}

.eod-rev-track-item:hover {
    border-color: rgba(222, 102, 139, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.eod-rev-track-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.eod-rev-track-number {
    background: linear-gradient(135deg, var(--eod-rev-pink), var(--eod-rev-purple));
    color: var(--eod-rev-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.eod-rev-track-info {
    flex: 1;
}

.eod-rev-track-name {
    color: var(--eod-rev-white);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 0px 0;
}

.eod-rev-track-artist {
    color: var(--eod-rev-gray-medium);
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
}

.eod-rev-track-nickname {
    color: var(--eod-rev-gray-medium);
    font-size: 14px;
    margin: 0;
    font-style: italic;
}

/* Cut Times Section */
.eod-rev-cut-times-wrapper {
    margin-bottom: 15px;
}

.eod-rev-cut-times-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--eod-rev-pink);
    color: var(--eod-rev-white);
    padding: 8px 12px;
    border-radius: var(--eod-rev-border-radius);
    cursor: pointer;
    transition: var(--eod-rev-transition);
    font-size: 14px;
    font-weight: 600;
    user-select: none;
}

.eod-rev-cut-times-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(222, 102, 139, 0.4);
    background-color: #e87496;
}

.eod-rev-cut-times-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eod-rev-cut-times-title i {
    font-size: 12px;
}

.eod-rev-cut-times-toggle {
    font-size: 16px;
    transition: var(--eod-rev-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.eod-rev-cut-times-toggle.expanded {
    transform: rotate(180deg);
}

.eod-rev-cut-times {
    background-color: #1e1e1e;
    border-radius: var(--eod-rev-border-radius);
    padding: 12px;
    margin-top: 5px;
    display: none;
    border: 2px solid var(--eod-rev-pink);
}

.eod-rev-cut-times.expanded {
    display: block;
}

.eod-rev-cut-row {
    margin-bottom: 12px;
}

.eod-rev-cut-row:last-child {
    margin-bottom: 0;
}

.eod-rev-cut-group {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.eod-rev-cut-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.eod-rev-cut-label {
    font-weight: 600;
    color: var(--eod-rev-pink);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eod-rev-cut-value {
    background-color: #2a2a2a;
    padding: 8px;
    border-radius: var(--eod-rev-border-radius);
    border: 1px solid #3a3a3a;
    font-family: var(--eod-rev-font-family);
    font-size: 13px;
    color: var(--eod-rev-white);
    word-break: break-word;
}

/* Read more/less toggle styling */
.eod-rev-read-more,
.eod-rev-read-less {
    color: var(--eod-rev-pink) !important;
    cursor: pointer;
    font-weight: 600;
    margin-left: 5px;
    font-family: inherit;
    font-size: 12px;
    transition: var(--eod-rev-transition);
    text-decoration: none;
    user-select: none;
}

.eod-rev-read-more:hover,
.eod-rev-read-less:hover {
    color: var(--eod-rev-gray-medium) !important;
    text-decoration: underline;
}

/* Transition comments read more/less styling */
.eod-rev-transition-comments .eod-rev-read-more,
.eod-rev-transition-comments .eod-rev-read-less {
    color: #ffffff !important;
    cursor: pointer;
    font-weight: 600;
    margin-left: 5px;
    font-family: inherit;
    font-size: 12px;
    transition: var(--eod-rev-transition);
    text-decoration: none;
    user-select: none;
}

.eod-rev-transition-comments .eod-rev-read-more:hover,
.eod-rev-transition-comments .eod-rev-read-less:hover {
    color: var(--eod-rev-bg-dark) !important;
    text-decoration: underline;
}

.eod-rev-no-cuts {
    color: var(--eod-rev-gray-medium);
    font-style: italic;
    margin: 0;
}

/* Transition Comments Section */
.eod-rev-transition-section {
    margin-top: 15px;
    margin-bottom: 15px;
    background-color: var(--eod-rev-pink);
    border-radius: var(--eod-rev-border-radius);
    padding: 12px 15px;
}

.eod-rev-transition-label {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eod-rev-transition-label i {
    color: #FFFFFF;
    font-size: 14px;
}

.eod-rev-transition-comments {
    color: var(--eod-rev-white);
    font-size: 14px;
    line-height: 1.6;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--eod-rev-border-radius);
}

/* Revision Notes Section */
.eod-rev-notes-section {
    margin-top: 15px;
}

.eod-rev-notes-label {
    display: block;
    color: var(--eod-rev-white);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.eod-rev-notes-label i {
    margin-right: 2px;
    font-size: 18px;
    color: var(--eod-rev-pink);
}

.eod-rev-notes {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 2px solid #3a3a3a;
    border-radius: var(--eod-rev-border-radius);
    font-family: var(--eod-rev-font-family);
    font-size: 14px;
    resize: vertical;
    transition: var(--eod-rev-transition);
    background-color: #2a2a2a;
    color: var(--eod-rev-white);
    line-height: 1.6;
}

.eod-rev-notes:focus {
    outline: none;
    border-color: var(--eod-rev-pink);
    box-shadow: 0 0 0 3px rgba(222, 102, 139, 0.2);
}

.eod-rev-notes::placeholder {
    color: var(--eod-rev-gray-medium);
}

.eod-rev-char-counter {
    text-align: right;
    color: var(--eod-rev-gray-medium);
    font-size: 12px;
    margin-top: 5px;
}

/* Modal Buttons */
.eod-rev-modal-submit-btn,
.eod-rev-confirm-submit-btn {
    background: linear-gradient(135deg, var(--eod-rev-purple), var(--eod-rev-pink));
    color: var(--eod-rev-white);
    border: none !important;
    border-radius: var(--eod-rev-border-radius);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--eod-rev-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.eod-rev-modal-submit-btn:hover,
.eod-rev-confirm-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 131, 203, 0.4);
}

.eod-rev-modal-submit-btn:disabled,
.eod-rev-confirm-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.eod-rev-confirm-cancel-btn {
    background-color: #242424 !important;
    color: var(--eod-rev-white);
    border: none !important;
    border-radius: var(--eod-rev-border-radius);
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--eod-rev-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eod-rev-confirm-cancel-btn:hover {
    background-color: #323232 !important;
    transform: translateY(-1px);
}

.eod-rev-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--eod-rev-white);
    border-radius: 50%;
    animation: eod-rev-spin 1s linear infinite;
}

.eod-rev-modal-error {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--eod-rev-error);
    border: 1px solid var(--eod-rev-error);
    border-radius: var(--eod-rev-border-radius);
    padding: 15px;
    margin: 0 25px 20px;
    font-weight: 600;
    text-align: center;
}

/* Animations */
@keyframes eod-rev-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes eod-rev-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes eod-rev-slide-in {
    from {
        transform: translateY(-30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Prevent body scrolling when modal is open */
body.eod-rev-modal-open {
    overflow: hidden !important;
}

@media (max-width: 480px) {
    .eod-rev-notes {
        font-size: 11px;
    }

    .eod-rev-countdown-container {
        max-width: 100%;
    }
    
    .eod-rev-countdown-box {
        padding: 15px;
    }
    
    .eod-rev-countdown-header i {
        font-size: 28px;
    }
    
    .eod-rev-countdown-header h3 {
        font-size: 16px;
    }
    
    .eod-rev-countdown-timer {
        gap: 4px;
        padding: 12px;
    }
    
    .eod-rev-time-segment {
        min-width: 45px;
    }
    
    .eod-rev-time-value {
        font-size: 28px;
    }
    
    .eod-rev-time-label {
        font-size: 10px;
    }
    
    .eod-rev-time-separator {
        font-size: 22px;
        margin: 0 2px;
    }
    
    .eod-rev-request-btn {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
    }
    
    .eod-rev-modal-body {
        padding: 15px;
    }
    
    .eod-rev-track-item {
        padding: 12px;
    }
    
    .eod-rev-cut-group {
        flex-direction: column;
        gap: 6px;
    }
    
    .eod-rev-cut-item {
        width: 100%;
    }
    
    .eod-rev-cut-value {
        padding: 6px;
        font-size: 12px;
    }
    
    .eod-rev-cut-label {
        font-size: 11px;
    }
    
    .eod-rev-modal-footer {
        flex-direction: column;
        padding: 15px;
    }
    
    .eod-rev-modal-submit-btn,
    .eod-rev-confirm-submit-btn,
    .eod-rev-confirm-cancel-btn {
        width: 100%;
        justify-content: center;
    }
}

