.webcrawler-wrapper {
    background: #f0f6fb;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 40, 80, 0.12);
}

.webcrawler-wrapper h1 {
    color: #0a66c2;
    font-size: 28px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.webcrawler-wrapper .desc {
    color: #4a5a6a;
    margin-bottom: 22px;
    font-size: 15px;
}

#webform {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

#webform input[type="text"] {
    flex: 1;
    padding: 12px;
    border: 2px solid #0a66c2;
    border-radius: 6px;
    font-size: 16px;
    background: #ffffff;
    transition: 0.3s ease;
}

#webform input[type="text"]:focus {
    border-color: #084c91;
    box-shadow: 0 0 4px rgba(10, 102, 194, 0.3);
}

.btn-crawl {
    background: #0a66c2;
    color: #ffffff;
    border: none;
    padding: 11px 22px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.25s ease;
    font-weight: 500;
}

.btn-crawl:hover {
    background: #084c91;
}

.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    animation: fadeInError 0.25s ease-in-out;
}

/* WRAPPER */
.webcrawler-wrapper {
    background: #f0f6fb;
    padding: 25px;
    border-radius: 12px;
}

/* CARD */
.audit-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    margin-bottom: 40px;
}

/* HEADER */
.audit-header {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.audit-header h3 {
    margin: 0;
    font-size: 18px;
}

/* BODY */
.audit-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 35px;
}

/* PIE GRAPH */
.audit-score {
    position: relative;
    width: 220px;
    height: 220px;
}

.audit-score svg {
    transform: rotate(-90deg);
}

.audit-score circle {
    fill: none;
    stroke-width: 14;
}

.audit-score .bg {
    stroke: #e5e7eb;
}

.audit-score .progress {
    stroke: url(#scoreGradient);
    transition: stroke-dasharray .6s ease;
}

/* CENTER TEXT */
.score-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.score-text span {
    font-size: 42px;
    font-weight: 800;
}

.score-text small {
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
}

/* METRICS */
.audit-metrics {
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
}

.bar {
    background: #e5e7eb;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #3b82f6;
    transition: width .3s ease;
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}