/* ==========================================================================
   Brochure Download Modal Styles
   ========================================================================== */
.brochure-modal-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(1px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.brochure-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.brochure-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.brochure-modal-overlay.active .brochure-modal-content {
    transform: translateY(0) scale(1);
}

.brochure-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.brochure-modal-close:hover {
    color: #16a34a;
}

.brochure-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.brochure-modal-header .title {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.brochure-modal-header p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

.brochure-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.brochure-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.brochure-form-group input,
.brochure-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.brochure-form-group input:focus,
.brochure-form-group textarea:focus {
    outline: none;
    border-color: #22c55e;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.brochure-submit-btn {
    width: 100%;
    background: linear-gradient(5deg, #a9d9f5, #8529d5, #82a7f7) !important;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 10px;
    gap: 8px;
}

.brochure-submit-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #a9d9f5, #7f41dc, #82a7f7) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 15px rgba(30, 33, 34, 0.3);
}

.brochure-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.brochure-form-msg {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.brochure-form-msg.success {
    color: #16a34a;
    display: block;
}

.brochure-form-msg.error {
    color: #dc2626;
    display: block;
}

/* Sidebar Button Hover Style Adjustment */
#downloadBrochureBtn {
    transition: all 0.3s ease;
}
#downloadBrochureBtn:hover {
    background: linear-gradient(90deg, #16a34a, #22c55e) !important;
    color: white !important;
    border-color: #16a34a !important;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}
#downloadBrochureBtn:hover i {
    color: white !important;
}
