.link-auditor-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.auditor-header {
    text-align: center;
    margin-bottom: 30px;
}

.auditor-header h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.auditor-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.audit-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

.audit-button {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.audit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,115,170,0.3);
}

.audit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

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

.progress-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
}

.progress-header h4 {
    margin-bottom: 15px;
    color: #333;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e1e5e9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073aa, #005177);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    animation: pulse 2s infinite;
}

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

.progress-status p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.results-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-header h4 {
    color: #333;
    margin: 0;
}

.download-buttons {
    display: flex;
    gap: 10px;
}

.download-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pdf-btn {
    background: #dc3545;
    color: white;
}

.csv-btn {
    background: #28a745;
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
}

.summary-item.error {
    border-left-color: #dc3545;
}

.summary-item.warning {
    border-left-color: #ffc107;
}

.summary-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.summary-label {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.issues-section {
    margin-bottom: 25px;
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.issues-section h5 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.issues-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.issues-section li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.issues-section li:last-child {
    border-bottom: none;
}

.error-container {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

.error-message h4 {
    color: #721c24;
    margin-bottom: 15px;
}

.error-message p {
    color: #721c24;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .link-auditor-container {
        margin: 10px;
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .results-header {
        flex-direction: column;
        text-align: center;
    }
    
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-buttons {
        flex-direction: column;
        width: 100%;
    }
}