* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url("/static/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.page-overlay {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: rgba(40, 25, 10, 0.18);
}

.main-card {
    width: 100%;
    max-width: 420px;
    background: #f3eee5;
    border-radius: 18px;
    padding: 30px 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    text-align: center;
    border: 1px solid rgba(126, 78, 38, 0.14);
}

.logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.brand-icon {
    font-size: 34px;
    color: #9a5a2e;
}

.logo-area h1 {
    margin: 0;
    font-size: 52px;
    color: #8f552d;
    font-weight: 700;
}

.main-card h2 {
    margin: 8px 0 8px;
    font-size: 26px;
    color: #22130d;
}

.subtitle {
    margin: 0 0 22px;
    color: #4c3528;
    font-size: 14px;
    line-height: 1.7;
}

.order-form textarea {
    width: 100%;
    min-height: 105px;
    resize: none;
    border: 2px solid #b77443;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    background: #f8f3eb;
    color: #2a1a12;
    outline: none;
    margin-bottom: 16px;
}

.order-form textarea:focus {
    border-color: #9b592d;
    box-shadow: 0 0 0 3px rgba(181, 112, 61, 0.12);
}

.primary-btn,
.secondary-btn,
.danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s ease;
}

.primary-btn {
    width: 100%;
    background: #b86533;
    color: white;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.primary-btn:hover {
    background: #a85b2d;
}

.divider {
    height: 1px;
    background: #d8c8b9;
    margin: 22px 0;
}

.actions-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.secondary-btn,
.danger-btn {
    min-width: 150px;
    padding: 12px 16px;
    font-size: 17px;
    background: #b86533;
    color: white;
}

.secondary-btn:hover,
.danger-btn:hover {
    background: #a85b2d;
}

.reset-form {
    margin: 0;
}

@media (max-width: 520px) {
    .main-card {
        padding: 24px 18px;
    }

    .logo-area h1 {
        font-size: 42px;
    }

    .main-card h2 {
        font-size: 22px;
    }

    .actions-row {
        flex-direction: column;
    }

    .secondary-btn,
    .danger-btn {
        width: 100%;
    }
}
