* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #0d1117;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: #161b22;
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    border: 1px solid #30363d;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #58a6ff;
}

.header p {
    font-size: 14px;
    color: #8b949e;
}

.input-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-box input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    font-size: 16px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 10px;
    color: #ffffff;
    outline: none;
    transition: border 0.3s;
}

.input-box input:focus {
    border-color: #58a6ff;
}

.input-box button {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

.score-section {
    margin-bottom: 1.5rem;
}

.score-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #8b949e;
    margin-bottom: 8px;
}

.score-bar-bg {
    height: 10px;
    background: #30363d;
    border-radius: 5px;
    overflow: hidden;
}

#score-bar {
    height: 100%;
    width: 0%;
    border-radius: 5px;
    transition: width 0.3s, background 0.3s;
}

.checks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 1.5rem;
}

.chk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #30363d;
    color: #8b949e;
    background: #0d1117;
    transition: all 0.2s;
}

.chk.pass {
    color: #3fb950;
    background: #0d2d16;
    border-color: #3fb950;
}

.feedback-box {
    display: none;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 1.5rem;
}

.feedback-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #f0883e;
}

#feedback-list {
    padding-left: 18px;
    font-size: 13px;
    color: #8b949e;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat-card {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}

.stat-label {
    font-size: 12px;
    color: #8b949e;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 22px;
    font-weight: bold;
    color: #58a6ff;
}