﻿.final-account-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-header {
    background: linear-gradient(135deg, #282572, #1e1d5f);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

    .page-header h1 {
        margin: 0;
        font-size: 2.5rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .page-header p {
        margin: 0.5rem 0 0 0;
        opacity: 0.9;
        font-size: 1.1rem;
    }

.account-grid {
    display: grid;
    gap: 1.5rem;
}

.account-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 5px solid #28a745;
}

    .account-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 25px rgba(0,0,0,0.15);
    }

.account-header {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.account-year {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.year-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.account-content {
    padding: 1.5rem 2rem;
}

.account-description {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.download-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: #f0f8f0;
    border-top: 1px solid #d4edda;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.file-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #28a745, #1e7e34);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.file-details {
    flex: 1;
}

.file-name {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
    margin: 0;
}

.file-size {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

.download-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

    .download-btn:hover {
        background: #1e7e34;
        transform: translateY(-1px);
        box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
        color: white;
        text-decoration: none;
    }

.no-file {
    background: #fff5f5;
    border-top: 1px solid #ffe8e8;
    padding: 1rem 2rem;
    text-align: center;
    color: #666;
    font-style: italic;
}

.no-file-icon {
    color: #ccc;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-available {
    background: #d4edda;
    color: #155724;
}

.status-processing {
    background: #fff3cd;
    color: #856404;
}

.info-box {
    background: linear-gradient(135deg, #e3f2fd, #f8f9fa);
    border-left: 4px solid #2196f3;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

    .info-box h3 {
        color: #1976d2;
        margin: 0 0 0.5rem 0;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .info-box p {
        color: #555;
        margin: 0;
        line-height: 1.5;
    }

@media (max-width: 768px) {
    .final-account-container {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }

    .page-header {
        padding: 1.5rem;
    }

        .page-header h1 {
            font-size: 2rem;
            flex-direction: column;
            gap: 0.5rem;
        }

    .account-header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .account-year {
        font-size: 1.5rem;
    }

    .account-content {
        padding: 1rem 1.5rem;
    }

    .download-section {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .file-info {
        justify-content: center;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.empty-state-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: #666;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #999;
    margin: 0;
}
