/* Reset and base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

body {
    background-color: rgba(243, 218, 188, 0.42); /* softer background */
    color: #333;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.header {
    background-color: rgba(165, 42, 42, 0.618);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 15px 15px 30px;
    border-radius: 8px;
}

.header h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.header h2 span {
    color: #ffd700; /* gold accent */
}

.buttons button {
    background-color: #b22222;
    color: white;
    border: none;
    padding: 10px 18px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.buttons button:hover {
    background-color: #7a1212;
}

h1.heading {
    text-align: center;
    color: #b22222;
    margin-bottom: 30px;
}

/* Main app sections */
.app section {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(165, 42, 42, 0.15);
}

h3 {
    color: #b22222;
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: 600;
    margin-top: 12px;
}

input[type="text"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    font-size: 1rem;
    border: 1.5px solid #b22222;
    border-radius: 6px;
    box-sizing: border-box;
    font-family: monospace;
}

textarea {
    resize: none;
    height: 60px;
    background-color: #f9f3f3;
}

button {
    background-color: #b22222;
    color: white;
    border: none;
    padding: 12px 20px;
    margin-top: 15px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #7a1212;
}

/* Responsive */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .buttons button {
        margin-left: 0;
        width: 100%;
    }
}
