.za-upload-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.za-upload-container h2 {
    margin-top: 0;
    color: #333;
}

.za-upload-form {
    margin-bottom: 30px;
}

.za-upload-field {
    margin-bottom: 20px;
}

.za-upload-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.za-upload-field input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    cursor: pointer;
    transition: border-color 0.3s;
}

.za-upload-field input[type="file"]:hover {
    border-color: #2271b1;
}

.za-upload-hint {
    margin-top: 8px;
    font-size: 13px;
    color: #646970;
}

.za-upload-btn {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.za-upload-btn:hover {
    background: #135e96;
}

.za-upload-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.za-upload-progress {
    margin: 20px 0;
}

.za-progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.za-progress-fill {
    height: 100%;
    background: #2271b1;
    width: 0%;
    transition: width 0.3s;
}

.za-progress-text {
    text-align: center;
    color: #646970;
    margin: 0;
}

.za-upload-message {
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.za-upload-message.za-success {
    background: #00a32a;
    color: #fff;
}

.za-upload-message.za-error {
    background: #d63638;
    color: #fff;
}

/* Points Summary */
.za-points-summary {
    margin: 30px 0;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.za-points-summary h3 {
    margin-top: 0;
    color: #333;
    font-size: 20px;
}

.za-summary-box {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
}

.za-total-points {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.za-points-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.za-points-value {
    font-size: 24px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
}

.za-points-value.za-meets-requirement {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.za-points-value.za-below-requirement {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.za-certificate-available {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
}

.za-download-cert-btn {
    display: inline-block;
    background: #00a32a;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.za-download-cert-btn:hover {
    background: #008a20;
    color: #fff;
}

.za-requirement-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
}

.za-certificates-list {
    margin-top: 25px;
}

.za-certificates-list h4 {
    margin-bottom: 15px;
    color: #333;
}

.za-certificates-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.za-certificates-table thead {
    background: #f0f0f1;
}

.za-certificates-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #ddd;
}

.za-certificates-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.za-certificates-table tbody tr:hover {
    background: #f9f9f9;
}

.za-certificates-table a {
    color: #2271b1;
    text-decoration: none;
}

.za-certificates-table a:hover {
    text-decoration: underline;
}

.za-user-uploads {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f1;
}

.za-user-uploads h3 {
    margin-bottom: 20px;
    color: #333;
}

.za-uploads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.za-upload-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.za-upload-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.za-upload-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.za-pdf-preview {
    width: 100%;
    height: 200px;
    background: #f0f0f1;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.za-pdf-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.za-pdf-preview p {
    margin: 0;
    color: #646970;
    font-size: 14px;
}

.za-upload-info {
    padding: 15px;
    background: #fff;
}

.za-upload-name {
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
    font-size: 14px;
    word-break: break-word;
}

.za-upload-date {
    margin: 0 0 8px 0;
    color: #646970;
    font-size: 12px;
}

.za-fortbildungspunkten {
    color: #00a32a;
    font-weight: 600;
    font-size: 14px;
}

.za-extracted-date {
    color: #646970;
    font-size: 12px;
    margin-top: 4px;
}

.za-upload-status {
    color: #646970;
    font-size: 12px;
}

.za-duplicate-badge {
    display: inline-block;
    background: #f8d7da;
    color: #721c24;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 5px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}
