* {
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    background: radial-gradient(circle at top, #1f1f1f, #000000);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e5e5e5;
}

.container {
    width: 420px;
    padding: 35px;
    background: #0a0a0a;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
    text-align: center;
}

h1 {
    margin: 0;
    font-size: 32px;
    color: #f5f5f5;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 14px;
    color: #9e9e9e;
    margin-bottom: 25px;
}

input[type="file"] {
    width: 100%;
    padding: 10px;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    color: #bdbdbd;
    cursor: pointer;
}

.label {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    color: #cfcfcf;
}

input[type="range"] {
    width: 100%;
    margin-top: 10px;
    accent-color: #9e9e9e;
}

.info {
    margin-top: 10px;
    font-size: 14px;
    color: #e0e0e0;
}

.estimate {
    font-size: 13px;
    color: #9e9e9e;
}

button {
    width: 100%;
    margin-top: 25px;
    padding: 12px;
    background: linear-gradient(135deg, #2b2b2b, #111111);
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: #f5f5f5;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

button:hover {
    background: linear-gradient(135deg, #3a3a3a, #1a1a1a);
    transform: translateY(-2px);
}

/* ===== Result Page Styles ===== */

.result-title {
    font-size: 24px;
    color: #f5f5f5;
    margin-bottom: 5px;
}

.success {
    font-size: 13px;
    color: #9e9e9e;
    margin-bottom: 20px;
}

.stats {
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.stats p {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin: 8px 0;
    color: #e5e5e5;
}

.stats span {
    color: #bdbdbd;
    font-weight: bold;
}

.back-link {
    display: block;
    margin-top: 15px;
    font-size: 13px;
    color: #9e9e9e;
    text-decoration: none;
}

.back-link:hover {
    color: #f5f5f5;
}
