/* Download Verification Modal Styles */
.dl-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.dl-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    padding: 2.2rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.dl-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.dl-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.dl-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.dl-modal-icon {
    width: 56px;
    height: 56px;
    background: rgba(26, 86, 219, 0.1);
    color: var(--primary);
    font-size: 1.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.dl-modal-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.dl-modal-header p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}

.dl-form-group {
    margin-bottom: 1.15rem;
    text-align: left;
}

.dl-form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.dl-form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    transition: all 0.2s ease;
}

.dl-form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.dl-error-msg {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.5rem;
    display: none;
}

.dl-error-msg.visible {
    display: block;
}

#dl-submit-btn {
    margin-top: 15px;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff !important;
}

#dl-submit-btn span,
.btn-primary span {
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 700;
}