* {
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

h2 {
    margin-top: 0;
    color: #1e293b;
}

.input-group {
    margin: 15px 0;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #475569;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border 0.2s;
}

input:focus {
    border-color: #3b82f6;
}

button {
    width: 100%;
    padding: 14px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

button:hover {
    background: #2563eb;
}

.gauge-container {
    width: 100%;
    max-width: 280px;
    margin: 30px auto 10px;
    position: relative;
}

.gauge {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Clear out all old .gauge-track rotations. The paths handle it natively now! */

#arrow {
    transform-origin: 100px 100px;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotate(-90deg);
    /* Points directly to the start of the blue zone */
}

.result-text {
    font-size: 24px;
    font-weight: bold;
    color: #0f172a;
    margin-top: 15px;
}

.category-text {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
}