body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f0edea;
}

.container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    width: 340px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

h2 {
    margin-bottom: 8px;
    color: #4d1414;
    font-size: 22px;
    font-weight: 700;
}

.subtitle {
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 100%;
}

label {
    margin-bottom: 5px;
    color: #7a6b6b;
    font-size: 13px;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    box-sizing: border-box;
    font-size: 14px;
    transition: border-color 0.2s;
}

input:focus {
    border-color: #4d1414;
}

button {
    width: 100%;
    padding: 11px;
    background-color: #4d1414;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover:not(:disabled) {
    background-color: #3a0f0f;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.message {
    margin-top: 12px;
    font-size: 13px;
    min-height: 18px;
}

.back-link {
    margin-top: 16px;
    font-size: 13px;
    text-align: center;
}

.back-link a {
    text-decoration: none;
    color: #4d1414;
    transition: opacity 0.2s;
}

.back-link a:hover {
    text-decoration: underline;
}

/* ── Sent confirmation card ── */
.sent-card {
    animation: fadeUp 0.3s ease forwards;
}

.sent-icon {
    font-size: 52px;
    margin-bottom: 16px;
}

.sent-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.email-badge {
    display: inline-block;
    background: #f5f5f5;
    border-radius: 6px;
    padding: 7px 16px;
    font-weight: 700;
    color: #222;
    font-size: 14px;
    margin: 6px 0 16px;
    word-break: break-all;
}

.sent-note {
    font-size: 12px;
    color: #aaa;
    margin-top: 4px;
}

@keyframes fadeUp {
    from { transform: translateY(10px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
