*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1e1e1e, #111);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

select,
input[type="range"],
input[type="number"] {
    padding: 10px;
    border-radius: 6px;
    border: none;
    width: 100%;
}

input[type="checkbox"] {
    margin-right: 8px;
}

.result {
    margin-top: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

#total {
    font-size: 2rem;
    color: #ff9800;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.summary {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #ccc;
}

/* Slider label display */
#pagesValue {
    font-weight: bold;
    margin-left: 5px;
}

/* Button removed - styling kept for future use if needed */
button {
    margin-top: 10px;
    padding: 12px;
    border: none;
    background: #ff9800;
    color: black;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

button:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .container {
        padding: 30px 20px;
    }
}