﻿/* Performer-specific styles */

/* Option select buttons styling */
.button-group {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    margin: 20px 0 !important;
    align-items: center !important;
}

    .button-group .rounded-button {
        border: none !important;
        border-radius: 25px !important;
        padding: 15px 25px !important;
        background-color: #007bff !important;
        color: white !important;
        font-size: 16px !important;
        line-height: 1.4 !important;
        cursor: pointer !important;
        width: 220px !important;
        text-align: center !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
        transition: all 0.3s ease !important;
        white-space: normal !important;
        text-decoration: none !important;
        display: inline-block !important;
    }

        .button-group .rounded-button:hover {
            background-color: #0056b3 !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
            color: white !important;
            text-decoration: none !important;
        }

        .button-group .rounded-button.selected {
            background-color: #28a745 !important;
            transform: scale(1.05) !important;
            box-shadow: 0 8px 16px rgba(40, 167, 69, 0.3) !important;
            border: 2px solid #1e7e34 !important;
            color: white !important;
            text-decoration: none !important;
        }

            .button-group .rounded-button.selected:hover {
                background-color: #218838 !important;
                color: white !important;
                text-decoration: none !important;
            }

/* Performer-specific form styling */
.performer-form .form-group {
    margin-bottom: 25px;
}

.performer-form .control-label {
    font-weight: 600;
    color: #333;
}

/* Enhanced button styling for performer options */
.performer-options .rounded-button {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
}

/* Upgrade buttons specific styling */
.upgrade-buttons .rounded-button {
    min-height: 70px;
    font-size: 14px;
}

/* Upgrade buttons on quotation step - override any conflicting styles */
.well .rounded-button {
    border: none !important;
    border-radius: 25px !important;
    padding: 15px 25px !important;
    background-color: #007bff !important;
    color: white !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    min-width: 180px !important;
    text-align: center !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    white-space: normal !important;
    text-decoration: none !important;
    display: inline-block !important;
    min-height: 70px !important;
    margin: 5px !important;
}

    .well .rounded-button:hover {
        background-color: #0056b3 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
        color: white !important;
        text-decoration: none !important;
    }

    .well .rounded-button.selected {
        background-color: #28a745 !important;
        transform: scale(1.05) !important;
        box-shadow: 0 8px 16px rgba(40, 167, 69, 0.3) !important;
        border: 2px solid #1e7e34 !important;
        color: white !important;
        text-decoration: none !important;
    }

        .well .rounded-button.selected:hover {
            background-color: #218838 !important;
            color: white !important;
            text-decoration: none !important;
        }

/* Premium breakdown table styling */
.premium-table {
    background: #f8f9fa;
    border-radius: 8px;
}

    .premium-table .table {
        margin-bottom: 0;
    }

    .premium-table .table-success {
        background-color: #d4edda !important;
    }

/* Progress indicator enhancements */
.progress-container {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Progress tracker specific styling with overrides */
.progress-container {
    max-width: 800px !important;
    margin: 0 auto !important;
    background: white !important;
    padding: 15px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

    .progress-container .progress {
        height: 8px !important;
        background-color: #e9ecef !important;
        border-radius: 4px !important;
        overflow: hidden !important;
        margin-bottom: 10px !important;
    }

    .progress-container .progress-bar {
        background-color: #007bff !important;
        transition: width 0.6s ease !important;
        height: 100% !important;
    }

    .progress-container .step-indicators {
        display: flex !important;
        justify-content: space-between !important;
        margin-top: 10px !important;
        flex-wrap: wrap !important;
    }

    .progress-container .step {
        display: flex !important;
        align-items: center !important;
        font-size: 16px !important;
        color: #6c757d !important;
        transition: color 0.3s ease !important;
        white-space: nowrap !important;
    }

        .progress-container .step span {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 30px !important;
            height: 30px !important;
            border-radius: 50% !important;
            background: #e9ecef !important;
            color: #6c757d !important;
            margin-right: 8px !important;
            font-weight: bold !important;
            transition: all 0.3s ease !important;
            font-size: 16px !important;
        }

        .progress-container .step.active {
            color: #007bff !important;
        }

            .progress-container .step.active span {
                background: #007bff !important;
                color: white !important;
            }

        .progress-container .step.completed {
            color: #28a745 !important;
        }

            .progress-container .step.completed span {
                background: #28a745 !important;
                color: white !important;
            }

/* Responsive progress tracker */
@media (max-width: 768px) {
    .progress-container .step-indicators {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
    }

    .progress-container .step {
        justify-content: center !important;
        width: 100% !important;
    }

    .button-group {
        flex-direction: column !important;
        align-items: center !important;
    }

        .button-group .rounded-button {
            width: 100% !important;
            max-width: 300px !important;
        }
}
/* Marketing preferences buttons */
.contact-preferences {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .contact-preferences .btn {
        min-width: 80px;
        transition: all 0.3s ease;
    }

/* Debug panel styling */
.debug-panel {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6;
    font-size: 14px;
}

    .debug-panel h5 {
        color: #6c757d;
        margin-bottom: 15px;
    }

/* Documents section styling */
.documents-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.document-link {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

    .document-link a {
        text-decoration: none;
        color: #007bff;
        font-weight: 500;
    }

        .document-link a:hover {
            text-decoration: underline;
            color: #0056b3;
        }

    .document-link .fa-file-pdf {
        font-size: 18px;
        cursor: pointer;
    }

/* Responsive adjustments for performer form */
@media (max-width: 768px) {
    .performer-form .row {
        margin-bottom: 15px;
    }

    .upgrade-buttons .rounded-button {
        width: 100%;
        margin-bottom: 10px;
    }

    .contact-preferences {
        justify-content: center;
    }
}

/* Alert styling enhancements */
.alert-success h5 {
    margin-bottom: 10px;
}

.alert-success .fa-check-circle {
    color: #155724;
}

/* Table styling improvements */
.table-bordered td {
    vertical-align: middle;
}

.table-bordered strong {
    color: #495057;
}

/* Loading state improvements */
.loading-overlay {
    backdrop-filter: blur(2px);
}

/* Step-specific styling */
.banner-container {
    margin-bottom: 2rem;
}

    .banner-container img {
        max-height: 200px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        width: 100%;
    }

/* Align banner and progress with questionnaire panels */
@media (min-width: 1024px) {
    .wellparent {
        width: 70% !important;
        margin: 0 auto 20px auto !important;
    }

    .container-fluid .text-center.mb-4,
    .progress-container.mb-4 {
        width: 70%;
        margin: 0 auto 2rem auto !important;
        max-width: none;
    }

        /* Specific styling for banner image */
        .container-fluid .text-center.mb-4 img {
            width: 100% !important;
            max-width: none !important;
            height: auto !important;
        }
}

/* Override wellparent width for performer questionnaire */

/* Tooltip styling */
.event-tooltip {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    color: #222;
    width: 300px;
    height: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    position: absolute;
    right: 20px;
    top: 200px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

    .event-tooltip.fade-out {
        opacity: 0;
    }

@media (min-width: 1024px) {
    .event-tooltip {
        display: block;
    }
}

@media (max-width: 1023px) {
    .event-tooltip {
        display: none !important;
    }
}


#fontInspectorToggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100000;
    padding: 8px 12px;
}

#fontLegend {
    position: fixed;
    bottom: 70px;
    right: 20px;
    max-width: 320px;
    max-height: 300px;
    overflow: auto;
    background: #fff;
    border: 1px solid #ccc;
    font-family: Arial, sans-serif;
    font-size: 12px;
    padding: 10px;
    z-index: 100000;
}

    #fontLegend .item {
        display: flex;
        align-items: center;
        margin-bottom: 6px;
    }

    #fontLegend .swatch {
        width: 16px;
        height: 16px;
        margin-right: 8px;
        border: 1px solid #000;
    }

#fontTooltip {
    position: fixed;
    pointer-events: none;
    padding: 6px 8px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    z-index: 100001;
    white-space: pre;
}