/* ========== ENHANCED RESUME DOWNLOAD SECTION STYLES ========== */

.resume-download-section {
    margin: 2rem 0;
}

/* Download Options Grid */
.resume-download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Download Option Cards */
.download-option-card {
    padding: 2rem;
    /* background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px); */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.download-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    /* background: linear-gradient(90deg, transparent, var(--primary-color, #00BCD4), transparent);
    opacity: 0; */
    transition: opacity 0.4s ease;
}

.download-option-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 188, 212, 0.4);
    box-shadow: 0 20px 60px rgba(0, 188, 212, 0.2);
}

.download-option-card:hover::before {
    opacity: 1;
}

.download-option-card.primary {
    border-color: rgba(0, 188, 212, 0.3);
    background: rgba(0, 188, 212, 0.05);
}

.download-option-card.primary::before {
    background: linear-gradient(90deg, #00BCD4, #26C6DA, #00BCD4);
    opacity: 0.7;
}

.download-option-card.primary:hover {
    border-color: rgba(0, 188, 212, 0.6);
    box-shadow: 0 25px 70px rgba(0, 188, 212, 0.3);
}

/* Download Icon */
.download-icon {
    font-size: 3rem;
    color: var(--primary-color, #00BCD4);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 188, 212, 0.3));
}

.download-option-card:hover .download-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 188, 212, 0.5));
}

.download-option-card.primary .download-icon {
    color: #FFD700;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
}

/* Download Content */
.download-content {
    margin-bottom: 1.5rem;
    flex: 1;
}

.download-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.download-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Feature Tags */
.download-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(0, 188, 212, 0.15);
    color: #4DD0E1;
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.download-option-card.primary .feature-tag {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    border-color: rgba(255, 215, 0, 0.3);
}

/* Download Actions */
.download-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.download-btn {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
}

.download-btn.btn-primary {
    background: linear-gradient(45deg, #00BCD4, #26C6DA);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 188, 212, 0.3);
}

.download-btn.btn-primary:hover {
    background: linear-gradient(45deg, #26C6DA, #4DD0E1);
    box-shadow: 0 6px 24px rgba(0, 188, 212, 0.4);
    transform: translateY(-2px);
}

.download-btn.btn-outline-primary {
    background: rgba(0, 188, 212, 0.1);
    color: #4DD0E1;
    border-color: rgba(0, 188, 212, 0.4);
}

.download-btn.btn-outline-primary:hover {
    background: rgba(0, 188, 212, 0.2);
    border-color: rgba(0, 188, 212, 0.6);
    color: #ffffff;
}

.download-btn.btn-outline-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.download-btn.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.download-size {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Quick Actions */
.resume-quick-actions {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    backdrop-filter: blur(8px);
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.quick-action-item:last-child {
    margin-bottom: 0;
}

.quick-action-item i {
    color: var(--primary-color, #00BCD4);
    width: 20px;
    text-align: center;
}

.quick-link {
    color: #4DD0E1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.quick-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Resume Info Footer */
.resume-info-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.resume-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.resume-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.resume-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 188, 212, 0.2);
}

.stat-icon {
    color: var(--primary-color, #00BCD4);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.stat-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.resume-notes {
    text-align: center;
}

.resume-notes p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.resume-notes p:last-child {
    margin-bottom: 0;
}

.resume-notes i {
    color: var(--primary-color, #00BCD4);
}

/* Loading State */
.download-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.download-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .resume-download-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .download-option-card {
        padding: 1.5rem;
    }
    
    .download-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .download-title {
        font-size: 1.2rem;
    }
    
    .resume-stats {
        grid-template-columns: 1fr;
    }
    
    .quick-action-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
    }
    
    .resume-notes p {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .download-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-tag {
        width: 100%;
        text-align: center;
    }
    
    .download-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.5rem;
    }
    
    .resume-quick-actions {
        padding: 1rem;
    }
}