/* Audit Tool Styles */
.audit-section {
    background-color: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.audit-terminal {
    background: #1e293b;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid #334155;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
}

.terminal-header {
    background: #334155;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #10b981;
}

.terminal-body {
    padding: 2rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.audit-input-group {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.audit-input {
    background: #0f172a;
    border: 2px solid #475569;
    color: #fff;
    padding: 1rem 1.5rem;
    padding-right: 120px;
    width: 100%;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.audit-input:focus {
    border-color: #3b82f6;
    outline: none;
}

.audit-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.audit-btn:hover {
    background: #2563eb;
}

.audit-progress {
    display: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.log-line {
    color: #10b981;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.log-line.error {
    color: #ef4444;
}

.log-line.warning {
    color: #f59e0b;
}

.audit-result {
    display: none;
    text-align: center;
    animation: slideUp 0.5s ease-out;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 8px solid #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    margin: 0 auto 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}