/* Download Page Styles - Compact and Beautiful Design */

/* Tab Navigation */
.download-tabs-wrapper {
    text-align: center;
    margin: 40px 0;
}

.download-tabs {
    display: inline-flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.download-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.download-tab.active {
    background: #000;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.download-tab:hover:not(.active) {
    background: rgba(0,0,0,0.05);
    color: #000;
}

.download-tab i {
    font-size: 16px;
}

/* Download Layout */
.download-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    margin-top: 40px;
    align-items: start;
}

/* Download Buttons */
.download-buttons-left,
.download-buttons-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-button-item {
    margin-bottom: 0;
}

.download-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.download-btn:hover {
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.download-btn .btn-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #000, #333);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.download-btn .btn-content {
    flex: 1;
    min-width: 0;
}

.download-btn .btn-title {
    display: block;
    font-weight: 600;
    color: #000;
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.download-btn .btn-subtitle {
    display: block;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Center Form Area */
.download-form-center {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    min-height: 400px;
}

/* Default Form Display */
.default-form {
    text-align: center;
    padding: 40px 20px;
}

.default-form .form-header h4 {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.default-form .form-header p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.form-placeholder {
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.form-placeholder i {
    font-size: 48px;
    color: #adb5bd;
    margin-bottom: 16px;
    display: block;
}

.form-placeholder p {
    color: #6c757d;
    font-size: 16px;
    margin: 0;
}

/* Download Form Container */
.download-form-container {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: none;
    border: none;
}

.download-form {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.download-form .form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.download-form .form-title {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.download-form .form-subtitle {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.download-form .form-fields {
    margin-bottom: 25px;
}

.download-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.download-form .form-group {
    flex: 1;
}

.download-form .form-group.full-width {
    flex: 100%;
}

.download-form input[type="text"],
.download-form input[type="email"],
.download-form input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    color: #000;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.download-form input[type="text"]:focus,
.download-form input[type="email"]:focus,
.download-form input[type="tel"]:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.download-form input::placeholder {
    color: #adb5bd;
}

.download-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #000, #333);
    color: #fff;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.download-submit-btn:hover {
    background: linear-gradient(135deg, #333, #000);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.download-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* OTP Verification Styles */
.otp-verification-container {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.otp-header {
    text-align: center;
    margin-bottom: 25px;
}

.otp-header i {
    font-size: 32px;
    color: #000;
    margin-bottom: 12px;
    display: block;
}

.otp-header h4 {
    color: #000;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.otp-message {
    margin-bottom: 25px;
}

.otp-message p {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.otp-form {
    margin-bottom: 20px;
}

.otp-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 3px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.otp-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.otp-verify-btn,
.otp-resend-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.otp-verify-btn {
    background: linear-gradient(135deg, #000, #333);
    color: #fff;
}

.otp-verify-btn:hover {
    background: linear-gradient(135deg, #333, #000);
    transform: translateY(-1px);
}

.otp-resend-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
}

.otp-resend-btn:hover {
    background: #e9ecef;
    color: #000;
}

.otp-timer {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.otp-timer p {
    margin: 0;
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.otp-timer span {
    color: #000;
    font-size: 16px;
}

/* Download Success */
.download-success-container {
    text-align: center;
    padding: 20px;
}

.success-header {
    margin-bottom: 20px;
}

.success-header i {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 12px;
    display: block;
}

.success-header h4 {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.success-message {
    margin-bottom: 25px;
}

.success-message p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.download-success-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    padding: 16px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.download-success-btn:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: #fff;
    text-decoration: none;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: none;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* Loading States */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button Loading State */
.download-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.download-submit-btn:disabled:hover {
    background: linear-gradient(135deg, #000, #333);
    transform: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 16px 20px;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 4px solid #000;
    min-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    border-left-color: #28a745;
}

.toast-error {
    border-left-color: #dc3545;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-content i {
    font-size: 18px;
}

.toast-success .toast-content i {
    color: #28a745;
}

.toast-error .toast-content i {
    color: #dc3545;
}

.toast-content span {
    color: #000;
    font-weight: 500;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .download-buttons-left,
    .download-buttons-right {
        order: 2;
    }
    
    .download-form-center {
        order: 1;
    }
    
    .download-form .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .download-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .download-tab {
        justify-content: center;
    }
    
    .toast {
        left: 20px;
        right: 20px;
        transform: translateY(-100%);
        min-width: auto;
    }
    
    .toast.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .download-form-center {
        padding: 20px;
    }
    
    .download-form {
        padding: 20px;
    }
    
    .download-btn {
        padding: 12px 16px;
    }
    
    .download-btn .btn-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}
