* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff4f7;
    color: #2b2226;
}

.page {
    min-height: 100vh;
    padding: 32px 16px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.form-card {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    padding: 20px;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(43, 34, 38, 0.08);
}

.success-card p {
    font-size: 20px;
    line-height: 1.65;
}

.success-card p {
    font-size: 20px;
    line-height: 1.65;
    color: #4b3840;
}

.success-card h1 {
    color: #8f3f5f;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 22px;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
}

.primary-link,
.secondary-link {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
}

.primary-link {
    background: #d58aa6;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(143, 63, 95, 0.16);
}

.secondary-link {
    background: #fff4f7;
    color: #8f3f5f;
    box-shadow: 0 8px 18px rgba(143, 63, 95, 0.10);
}

.primary-link:active,
.secondary-link:active {
    transform: scale(0.98);
}

h1 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.15;
}

.intro {
    margin-bottom: 32px;
    line-height: 1.6;
}

.form-section {
    margin-top: 18px;
    padding: 16px;
    border-radius: 22px;
    background: #fffafb;
    border: 1px solid #f3dce5;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-section:focus-within,
.form-section.active-section {
    background: #ffeaf2;
    border-color: #e7a9bf;
    box-shadow: 0 10px 24px rgba(143, 63, 95, 0.10);
}

h2 {
    margin-top: 34px;
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #8f3f5f;
}

.form-section h2 {
    margin-top: 0;
}

.form-error-summary {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff1f5;
    border: 1px solid #e7a9bf;
    color: #8f3f5f;
}

.form-error-summary strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.form-error-summary p {
    margin: 0;
    font-size: 14px;
}

.field-error {
    display: block;
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 14px;
    background: #fff1f5;
    color: #8f3f5f;
    font-size: 13px;
    line-height: 1.35;
}

.field-error ul {
    margin: 0;
    padding-left: 18px;
}

h3 {
    margin-top: 20px;
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 800;
    color: #8f3f5f;
}

.section-note {
    margin-top: 18px;
    margin-bottom: 16px;
    line-height: 1.5;
    color: #6f535d;
}

p {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.45;
}

.tattoo-idea-section {
    position: relative;
    overflow: hidden;
}
#id_tattoo_idea {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
        url("design-02.png");
    background-repeat: no-repeat, no-repeat;
    background-position: center center, right 16px bottom 16px;
    background-size: auto, 130px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid #d8c9cf;
    border-radius: 14px;
    font-size: 14px;
    background: #fff;
    color: #2b2226;
}s

input[type="checkbox"] {
    width: auto;
    margin-left: 8px;
}

button {
    margin-top: 24px;
    width: 100%;
    padding: 16px 22px;
    border: 0;
    border-radius: 999px;
    background: #d58aa6;
    color: #ffffff;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 8px 18px rgba(143, 63, 95, 0.16);
}

button:hover {
    background: #c97998;
}

button:active {
    transform: scale(0.98);
    background: #c97998;
}

ul.errorlist {
    margin: 8px 0 0;
    padding-left: 20px;
    color: #9d3457;
    font-weight: 700;
}

.form-card {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    padding: 20px;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(43, 34, 38, 0.08);
}