﻿/* Preparations Page Styles */

.swiper {
    width: 95%;
    border: 2px solid #00c3ff;
    border-radius: 8px;
    overflow: hidden;
}

.nav-btn {
    color: #707070;
}

.swiper-slide {
    font-size: 24px;
    background: #F7F6FE;
    padding: 12px;
}

.swiper-container-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
}

.select-input {
    width: 100%;
    border: 2px solid #00c3ff;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    padding: 12px 40px 12px 16px;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .select-input:disabled {
        background-color: #f5f5f5;
        cursor: not-allowed;
        opacity: 0.6;
    }

    .select-input:focus {
        outline: none;
        border-color: #0056b3;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

.arrow {
    left: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
}

.padding {
    padding: 32px 80px;
}

.my-box {
    display: flex;
    justify-content: center;
    margin-top: 72px;
}

.plus-btn {
    background: linear-gradient(to bottom, #00A0FF, #003C80);
    border-radius: 5px;
    transition: transform 0.2s;
}

    .plus-btn:hover {
        transform: scale(1.05);
    }

.white-circle {
    width: 35px;
    height: 35px;
    background-color: #fff;
    border-radius: 50%;
}

.header-width {
    width: 75%;
    max-width: 1400px;
}

/* Custom Multi-Select Dropdown Styles */
.custom-multiselect {
    position: relative;
    width: 100%;
}

.multiselect-trigger {
    width: 100%;
    border: 2px solid #00c3ff;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    padding: 12px 40px 12px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 56px;
    display: flex;
    align-items: center;
    text-align: right;
}

    .multiselect-trigger:hover:not(.disabled) {
        border-color: #0056b3;
    }

    .multiselect-trigger.disabled {
        background-color: #f5f5f5;
        cursor: not-allowed;
        opacity: 0.6;
    }

    .multiselect-trigger .placeholder {
        color: #999;
    }

    .multiselect-trigger .selected-count {
        background: #00c3ff;
        color: white;
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 12px;
        margin-left: 8px;
    }

.multiselect-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #00c3ff;
    border-radius: 6px;
    margin-top: 4px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.multiselect-option {
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
}

    .multiselect-option:last-child {
        border-bottom: none;
    }

    .multiselect-option:hover {
        background-color: #f7f9fc;
    }

    .multiselect-option input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #00c3ff;
    }

    .multiselect-option label {
        flex: 1;
        cursor: pointer;
        margin: 0;
        text-align: right;
    }

.multiselect-arrow {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
    transition: transform 0.3s;
}

.multiselect-trigger.open .multiselect-arrow {
    transform: translateY(-30%) rotate(-135deg);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .my-box {
        margin-top: 55px;
        width: 95%;
    }

    .header-width {
        width: 95%;
    }

    .padding {
        padding: 32px 20px;
    }

    .swiper {
        width: 90%;
    }
}

@media (max-width: 600px) {
    .swiper {
        width: 85%;
    }

    .padding {
        padding: 20px 10px;
    }

    .select-input {
        font-size: 13px;
        padding: 10px 35px 10px 12px;
    }
}

.modal-dialog {
    max-width: 500px;
}

.modal-content {
    border-radius: 20px;
    border: 2px solid #4dd0e1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.modal-title-custom {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.modal-body {
    padding: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-control-custom {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #4dd0e1;
    border-radius: 12px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
}

    .form-control-custom::placeholder {
        color: #d0d0d0;
    }

    .form-control-custom:focus {
        outline: none;
        border-color: #26c6da;
        box-shadow: 0 0 0 3px rgba(77, 208, 225, 0.1);
    }

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-save {
    flex: 1;
    background: #0288d1;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-save:hover {
        background: #0277bd;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(2, 136, 209, 0.3);
    }

.btn-close-custom {
    flex: 1;
    background: #ef5350;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-close-custom:hover {
        background: #e53935;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(239, 83, 80, 0.3);
    }

@media (max-width: 576px) {

    .modal-buttons {
        flex-direction: column-reverse;
    }
}

.modal-dialog {
    max-width: 700px;
}

.modal-content {
    border-radius: 20px;
    border: 2px solid #4dd0e1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-height: 750px;
    overflow-y: auto;
}

.modal-title-custom {
    width: 100%;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    padding: 30px 30px 20px;
    border-bottom: none;
}

.modal-body {
    padding: 20px 30px 30px;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.criteria-card {
    background: white;
    border: 2px solid #4dd0e1;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .criteria-card p {
        margin: 0;
        font-size: 14px;
        line-height: 1.5;
        color: #555;
        text-align: center;
    }

.delete-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #fff;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .delete-btn:hover {
        background: #fff;
        transform: scale(1.05);
    }

    .delete-btn i {
        color: white;
        font-size: 16px;
    }

.add-criteria-btn {
    background: linear-gradient(135deg, #4dd0e1 0%, #26c6da 100%);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(77, 208, 225, 0.3);
    transition: all 0.3s ease;
}

    .add-criteria-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(77, 208, 225, 0.4);
    }

    .add-criteria-btn::before,
    .add-criteria-btn::after {
        content: '';
        position: absolute;
        background: white;
    }

    .add-criteria-btn::before {
        width: 20px;
        height: 3px;
    }

    .add-criteria-btn::after {
        width: 3px;
        height: 20px;
    }

.opinion-section {
    border-top: 2px solid #e0e0e0;
    padding-top: 25px;
    margin-bottom: 25px;
}

.opinion-title {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.opinion-options {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.opinion-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .opinion-option input[type="radio"] {
        width: 20px;
        height: 20px;
        cursor: pointer;
        accent-color: #0288d1;
    }

    .opinion-option label {
        font-size: 15px;
        color: #555;
        cursor: pointer;
        margin: 0;
    }

.submit-btn {
    background: #0288d1;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 60px;
    font-size: 16px;
    font-weight: 500;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .submit-btn:hover {
        background: #0277bd;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(2, 136, 209, 0.3);
    }

@media (max-width: 768px) {
    .criteria-grid {
        grid-template-columns: 1fr;
    }

    .opinion-options {
        flex-direction: column;
        gap: 15px;
    }
}

.rate-modal .modal-content {
    display: flex;
    flex-direction: column;
}

.rate-modal .table-responsive {
    min-height: 150px; /* أو 0 مع flex-basis: auto */
}

.rate-modal .modal-content {
    border: 3px solid #6dd4e7;
    border-radius: 30px;
    background: white;
    padding: 30px;
    max-height: 750px;
    overflow-y: auto;
}

.rate-modal .modal-dialog {
    max-width: 700px;
}

.modal-title-custom {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.criteria-box {
    border: 2px solid #6dd4e7;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    font-size: 14px;
    color: #333;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.rating-number {
    font-size: 48px;
    font-weight: bold;
    color: #333;
}

.rating-stars {
    display: flex;
    gap: 5px;
}

.rating-star {
    color: #00d4ff;
    font-size: 40px;
}

.notes-section {
    margin-bottom: 25px;
}

.notes-input {
    width: 100%;
    border: 2px solid #6dd4e7;
    border-radius: 15px;
    padding: 15px;
    font-size: 14px;
    min-height: 80px;
    resize: vertical;
}

    .notes-input::placeholder {
        color: #ccc;
    }

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-save {
    background: #0089ba;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-save:hover {
        background: #006b94;
    }

.btn-cancel {
    background: #8bc34a;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-cancel:hover {
        background: #7cb342;
    }

@media (max-width: 768px) {
    .criteria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rating-number {
        font-size: 36px;
    }

    .rating-star {
        font-size: 30px;
    }

    .evaluation-row {
        flex-wrap: wrap;
    }

    .evaluation-text {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .criteria-grid {
        grid-template-columns: 1fr;
    }

    .rate-modal .modal-content {
        padding: 20px;
    }
}

.timer-modal .modal-content {
    border: none;
    border-radius: 40px;
    overflow: visible;
    background: transparent;
}

.timer-modal .modal-dialog {
    max-width: 900px;
}

.timer-container {
    background: #fff;
    border: 8px solid #5a8fc7;
    border-radius: 40px;
    padding: 0;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.timer-display-area {
    background: #f0f0f0;
    padding: 120px;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin:60px;
    border-radius:20px;
}

.stopwatch-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 100px;
    height: 100px;
}

.stopwatch-outer {
    width: 100px;
    height: 100px;
    border: 8px solid #4a148c;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stopwatch-button {
    width: 15px;
    height: 25px;
    background: #4a148c;
    border-radius: 5px;
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
}

    .stopwatch-button::after {
        content: '';
        width: 8px;
        height: 8px;
        background: #4a148c;
        border-radius: 50%;
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
    }

.stopwatch-inner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: conic-gradient(#ffa500 0deg 270deg, #4a148c 270deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stopwatch-center {
    width: 40px;
    height: 40px;
    background: #4a148c;
    border-radius: 50%;
}

.fullscreen-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 32px;
    color: #4db8d8;
    cursor: pointer;
}

.timer-display {
    font-size: 120px;
    color: #ff8c00;
    display: flex;
    gap: 20px;
    align-items: center;
    font-family: 'Arial', sans-serif;
    line-height: 1;
}

.timer-separator {
    color: #2c5282;
    font-size: 80px;
}
.modal-header {
    background: linear-gradient(to bottom, #6ba3d8 0%, #5a8fc7 100%);
    position: absolute;
    top: -40px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 32px;
    display: flex;
    justify-content: center;
    gap: 20px;
    width: fit-content;
    padding: 0px 100px;
    z-index:10;
}

.timer-controls {
    background: linear-gradient(to bottom, #6ba3d8 0%, #5a8fc7 100%);
    position: absolute;
    bottom: -40px;
    right: 50%;
    transform: translateX(50%);
    border-radius: 32px;
    display: flex;
    justify-content: center;
    gap: 20px;
    width: fit-content;
    padding: 0px 100px;
}

.control-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

    .control-btn:hover {
        transform: scale(1.1);
    }

.play-btn {
    background: #2c3e50;
}

.pause-btn {
    background: #34495e;
}

.reset-btn {
    background: #c0392b;
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 25px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

.pause-icon {
    display: flex;
    gap: 8px;
}

.pause-bar {
    width: 8px;
    height: 30px;
    background: white;
    border-radius: 2px;
}

.reset-icon {
    width: 35px;
    height: 35px;
    border: 4px solid white;
    border-radius: 50%;
    position: relative;
}

    .reset-icon::before {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-right: 10px solid white;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
        top: -10px;
        left: -6px;
        transform: rotate(-45deg);
    }

    .reset-icon::after {
        content: '';
        position: absolute;
        width: 4px;
        height: 12px;
        background: white;
        top: -12px;
        left: -2px;
        border-radius: 2px;
    }

.header-p {
    font-size: 40px;
    color: white;
    font-weight: bold
}

@media (max-width: 768px) {
    .fullscreen-icon {
        width:30px;
        height:30px;
    }
    .timer-display {
        font-size: 60px;
    }

    .timer-separator {
        font-size: 60px;
    }
    .timer-display-area {
        margin: 20px;
    }

    .stopwatch-icon {
        width: 50px;
        height: 50px;
        top: 20px;
        left: 20px;
    }

    .stopwatch-outer {
        width: 70px;
        height: 70px;
    }

    .stopwatch-inner {
        width: 50px;
        height: 50px;
    }

    .stopwatch-center {
        width: 30px;
        height: 30px;
    }

    .control-btn {
        width: 60px;
        height: 60px;
    }

    .timer-tab {
        width: 70px;
        height: 45px;
    }
    .timer-controls {
        bottom: -30px;
        padding: 0px 40px;
    }
    .modal-header {
        padding: 0px 40px;
    }
    .header-p {
        font-size: 30px;
    }
}

@media (max-width: 550px) {
    .timer-display {
        font-size: 30px;
    }
    .timer-controls {
        bottom: -20px;
    }
    .control-btn {
        width: 40px;
        height: 40px;
    }
    .header-p {
        font-size: 24px;
    }
}

.rating-container {
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 100%;
}

.overall-rating {
    background: linear-gradient(135deg, #00d4ff 0%, #00a8cc 100%);
    border: 3px solid #00d4ff;
    border-radius: 15px;
    padding: 15px 30px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.overall-rating-number {
    font-size: 32px;
    font-weight: bold;
    color: #00a8cc;
    background: white;
    padding: 5px 15px;
    border-radius: 8px;
}

.stars-display {
    display: flex;
    gap: 5px;
}

.star {
    color: #00d4ff;
    font-size: 32px;
}

.star-half {
    position: relative;
    display: inline-block;
    color: #00d4ff;
    font-size: 32px;
}

.student-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.student-avatar-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.student-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f0f0 0%, #d9d9d9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .student-avatar svg {
        width: 60px;
        height: 60px;
        fill: #c0c0c0;
    }

.student-rating-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #00d4ff 0%, #00a8cc 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    border: 3px solid white;
}

.student-name {
    color: #4a5568;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 1200px) {
    .student-avatar {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .rating-container {
        padding: 30px 20px;
    }

    .student-avatar {
        width: 100px;
        height: 100px;
    }

        .student-avatar svg {
            width: 60px;
            height: 60px;
        }

    .student-rating-badge {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .overall-rating-number {
        font-size: 24px;
    }

    .star, .star-half {
        font-size: 24px;
    }
}

.star-rating {
    display: inline-flex;
    gap: 2px;
    direction: ltr;
}

.star-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
}

.star-bg {
    position: absolute;
    top: 0;
    left: 0;
    color: #ddd;
}

.star-fill {
    position: absolute;
    top: 0;
    left: 0;
    color: #0dcaf0;
    overflow: hidden;
    white-space: nowrap;
}

.filter-header {
    width: 90%;
    position: absolute;
    top: 72px;
    right: 50%;
    transform: translateX(50%);
}

.header-title {
    font-size: 20px;
    font-weight: 700;
}

.header-text {
    font-size: 18px;
    margin-top: 4px
}

.content-padding {
    padding-top: 230px;
    padding-left: 24px;
    padding-right: 24px;
}

.learning-tab {
    border: none;
    border-bottom: 1px solid #4fd8f4;
    background-color: #007fc3;
    color: white;
    border-radius: 0;
    padding: 10px;
    text-align: center;
}

    .learning-tab:last-child {
        border-bottom: none;
    }

    .learning-tab.active {
        background-color: #8abb2a;
    }

.input-box {
    border: 1px solid #4fd8f4 !important;
    border-radius: 4px;
    color: #007fc3;
}

.rounded-top-tab {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background-color: #8abb2a;
    color: white;
    padding: 8px 24px;
    position: absolute;
    transform: translateX(50%);
    top: 0px;
    right: 50%;
    font-weight: 500;
}

@media (max-width: 1400px) {
    .content-padding {
        padding-top: 250px;
    }
}

@media (max-width: 991px) {
    .filter-header {
        top: 55px;
    }

    .header-title {
        font-size: 18px;
    }

    .header-text {
        font-size: 16px;
    }

    .content-padding {
        padding-top: 270px;
    }
}

@media (max-width: 767px) {
    .content-padding {
        padding-top: 290px;
    }
}

@media (max-width: 575px) {
    .content-padding {
        padding-top: 400px;
    }
}