/* Guide Request Modal Styles */

/* Modal Overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Content */
.modal-content {
    background: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #333;
    background: #f0f0f0;
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, #2c5f4f 0%, #3d7a66 100%);
    color: #ffffff;
    padding: 40px 40px 35px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.modal-header i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: block;
    color: #c9a87c;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-header p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin: 0;
}

/* Guide Form */
.guide-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c5f4f;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #2c5f4f;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(44, 95, 79, 0.1);
}

.checkbox-group {
    margin: 30px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #2c5f4f;
    flex-shrink: 0;
}

.checkbox-label span {
    line-height: 1.5;
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 18px 35px;
    font-size: 1.15rem;
}

.form-note {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

.form-note i {
    color: #43e97b;
    margin-right: 6px;
}

/* Success Message */
.success-message {
    padding: 60px 40px;
    text-align: center;
}

.success-message i {
    font-size: 5rem;
    color: #43e97b;
    margin-bottom: 20px;
    display: block;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-message h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2c5f4f;
    margin-bottom: 15px;
}

.success-message p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-header {
        padding: 30px 25px;
    }
    
    .modal-header h2 {
        font-size: 1.6rem;
    }
    
    .modal-header i {
        font-size: 2.5rem;
    }
    
    .guide-form {
        padding: 30px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .success-message {
        padding: 40px 25px;
    }
    
    .success-message i {
        font-size: 4rem;
    }
    
    .success-message h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .modal-header p {
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 16px 30px;
        font-size: 1.05rem;
    }
}
