/* Check Page Specific Styles */

.check-section {
    max-width: 1000px;
    margin: 0 auto;
}

.check-container {
    background: var(--white);
    border-radius: 15px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.check-header {
    text-align: center;
    margin-bottom: 40px;
}

.check-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.3);
}

.check-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.check-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.check-header p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Check Form */
.check-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.check-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.check-form .form-group label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.btn-check {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.3);
}

.btn-check:hover {
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.4);
}

/* Results Container */
.results-container {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease;
}

.results-container h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-container h3 i {
    color: var(--primary-color);
}

/* Reservations List */
.reservations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reservation-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 25px;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.reservation-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.reservation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.reservation-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.reservation-status {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.reservation-status.waiting {
    background: #fff3cd;
    color: #856404;
}

.reservation-status.confirmed {
    background: #d4edda;
    color: #155724;
}

.reservation-status.completed {
    background: #d1ecf1;
    color: #0c5460;
}

.reservation-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.reservation-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-item i {
    color: var(--primary-color);
    width: 20px;
}

.detail-item strong {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 5px;
}

.reservation-actions {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
}

.btn-edit-reservation {
    flex: 1;
    background: var(--success-color);
    color: var(--white);
}

.btn-edit-reservation:hover {
    background: #218838;
}

.btn-cancel-reservation {
    flex: 1;
    background: var(--danger-color);
    color: var(--white);
}

.btn-cancel-reservation:hover {
    background: #c82333;
}

/* No Results */
.no-results {
    background: var(--white);
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.5s ease;
}

.no-results i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no-results p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Edit Modal */
.edit-modal {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.edit-modal .modal-body {
    max-height: calc(90vh - 150px);
    overflow-y: auto;
    padding-right: 10px;
}

/* 스크롤바 스타일링 */
.edit-modal .modal-body::-webkit-scrollbar {
    width: 8px;
}

.edit-modal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.edit-modal .modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.edit-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .check-container {
        padding: 40px 30px;
    }

    .results-container {
        padding: 30px 20px;
    }

    .check-header h2 {
        font-size: 1.6rem;
    }

    .reservation-details {
        grid-template-columns: 1fr;
    }

    .reservation-actions {
        flex-direction: column;
    }

    .btn-check {
        font-size: 1rem;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .check-container {
        padding: 30px 20px;
    }

    .check-header h2 {
        font-size: 1.4rem;
    }

    .check-icon {
        width: 70px;
        height: 70px;
    }

    .check-icon i {
        font-size: 2rem;
    }
}