/* Additional styling for PDF form functionality */

/* Email input styling */
#userEmail {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

#userEmail:focus {
    outline: none;
    border-color: #1C315E;
    box-shadow: 0 0 5px rgba(28, 49, 94, 0.3);
}

/* Submit button enhanced styling */
#iv4ivv {
    background: linear-gradient(135deg, #1C315E, #2a4a7a);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(28, 49, 94, 0.2);
}

#iv4ivv:hover {
    background: linear-gradient(135deg, #2a4a7a, #1C315E);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 49, 94, 0.3);
}

#iv4ivv:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(28, 49, 94, 0.2);
}

#iv4ivv:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Notification styling */
.pdf-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
}

.pdf-notification.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.pdf-notification.error {
    background: linear-gradient(135deg, #f44336, #da190b);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Form loading state */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    border-radius: 8px;
}

.form-loading::after {
    content: 'Generating PDF...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1C315E;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    z-index: 1001;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .pdf-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    #iv4ivv {
        width: 100%;
        padding: 15px;
    }
}
