/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/* student juror form css */

.student_juror_custom_form .gform_wrapper .top_label .gfield_label {
    margin-bottom: 10px!important;
    font-size: 18px;
}
 
.student_juror_custom_form .gform_wrapper input,.student_juror_custom_form .gform_wrapper textarea {
    box-shadow: 1px 2px 5px 0px silver;
}
 
.student_juror_custom_form .gform_wrapper .gfield_radio {
    flex-direction: row;
    gap: 20px;
}
 
.student_juror_custom_form .gform_wrapper .gfield_radio label {
    font-size: 16px;
}
.student_juror_custom_form .gform_wrapper input:focus,.student_juror_custom_form .gform_wrapper textarea:focus {
    transform: scale(102%);
    transition: transform 0.3s ease-in-out; 
}

 .artwork-detail {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
 }

.artwork-detail div.first-box ,.artwork-detail div.artwork-rating-section {
    width: 48%;
    max-width: 48%;
}
.artwork-rating-section {
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.artwork-detail .artwork-thumbnail img {
    height: 350px;
}
.artwork-detail div.artwork-rating-section .notes-section textarea {
    color: #000;
    background:#F8F9FA;
    height: 80px;
}
.artwork-detail div.artwork-rating-section button.submit-btn {
    background: #18447C;
}
.artwork-detail  h1.artwork-title {
    font-size: 26px;
    margin-top: 24px;
}
.artwork-rating-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

.rating-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.rating-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.rating-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.rating-row {
    margin-bottom: 25px;
}

.rating-row label {
    display: block;
    /*margin-bottom: 10px;*/
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-track {
    flex: 1;
    height: 12px;
    background: #e0e0e0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.slider-fill {
    height: 100%;
    background: linear-gradient(90deg, #18437A 0%, #7EC0E2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-slider {
    position: absolute;
    width: 100%;
    height: 8px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.rating-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
    opacity: 1;
}

.rating-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.rating-value {
    min-width: 40px;
    text-align: center;
    font-weight: bold;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    color: #333;
}

.total-score {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 25px 0;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.total-score strong {
    display: block;
    color: #333;
}

.total-value {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    background: #fff;
    padding: 0px 8px;
    border-radius: 5px;
    display: inline-block;
    min-width: 60px;
    border: 2px solid #333;
}

.notes-section {
    margin: 15px 0 25px 0;
}

.notes-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.notes-section textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 2px solid #dee2e6;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    background: #333;
    color: #fff;
}

.notes-section textarea:focus {
    outline: none;
    border-color: #666;
}

.submit-btn {
    width: 100%;
    background: #333;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: #555;
}

.submit-btn:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .artwork-rating-section {
        margin: 20px;
        padding: 20px;
    }

    .slider-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .rating-value {
        align-self: center;
    }
}
.artwork-status-container {
    display: none;
}