/* =========================
   ANKETA PAGE
========================= */

.anketa-page{
    width:100%;
    padding:20px 20px 50px;
    box-sizing:border-box;
}

.anketa-wrapper{
    width:100%;
    max-width:850px;
    margin:0 auto;
}

/* =========================
   ANKETA INTRO
========================= */

.anketa-intro{
    text-align:center;
    margin:0 auto 35px;
    max-width:780px;
}

.anketa-intro h1{
    margin:0 0 20px;
    color:#b89b5e;
    font-size:28px;
    line-height:1.3;
    font-weight:normal;
}

/* =========================
   PUPPY PHOTO
========================= */

.anketa-puppy-photo{
    display:block;
    width:auto;
    max-width:400px;
    height:auto;
    margin:0 auto 25px;
    border-radius:10px;
}

.anketa-intro p{
    margin:0 auto;
    font-size:15px;
    line-height:1.7;
    color:#555;
}

/* =========================
   ANKETA SECTIONS
========================= */

.anketa-section{
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:10px;
    padding:25px;
    margin-bottom:20px;
    box-sizing:border-box;
}

.anketa-section-title{
    margin:0 0 22px;
    padding-bottom:10px;
    border-bottom:1px solid #eee;

    color:#b89b5e;
    font-size:19px;
    font-weight:normal;
}

/* =========================
   FORM GROUP
========================= */

.anketa-field{
    margin-bottom:22px;
}

.anketa-field:last-child{
    margin-bottom:0;
}

.anketa-label{
    display:block;
    margin-bottom:8px;

    color:#333;
    font-size:15px;
    line-height:1.5;
}

.anketa-note{
    display:block;
    margin-top:5px;

    color:#888;
    font-size:13px;
    line-height:1.5;
}

/* =========================
   INPUTS
========================= */

.anketa-input,
.anketa-textarea,
.anketa-select{
    width:100%;
    box-sizing:border-box;

    border:1px solid #dcdcdc;
    border-radius:6px;

    background:#fff;
    color:#333;

    font-family:inherit;
    font-size:15px;

    padding:11px 13px;

    outline:none;

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.anketa-input{
    height:44px;
}

.anketa-textarea{
    min-height:110px;
    resize:vertical;
    line-height:1.5;
}

.anketa-select{
    height:44px;
    cursor:pointer;
}

.anketa-input:focus,
.anketa-textarea:focus,
.anketa-select:focus{
    border-color:#b89b5e;
    box-shadow:0 0 0 2px rgba(184,155,94,.12);
}

/* =========================
   RADIO AND CHECKBOX
========================= */

.anketa-options{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.anketa-option{
    display:flex;
    align-items:flex-start;
    gap:9px;

    color:#444;
    font-size:14px;
    line-height:1.5;

    cursor:pointer;
}

.anketa-option input{
    margin-top:3px;
    accent-color:#b89b5e;
    cursor:pointer;
}

.anketa-option span{
    flex:1;
}

/* =========================
   TWO COLUMN FIELDS
========================= */

.anketa-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

/* =========================
   REQUIRED
========================= */

.anketa-required{
    color:#b89b5e;
}

/* =========================
   AGREEMENT
========================= */

.anketa-agreement{
    margin:25px 0;
    padding:18px;

    background:#faf8f3;
    border:1px solid #eee3cc;
    border-radius:8px;
}

.anketa-agreement label{
    display:flex;
    align-items:flex-start;
    gap:10px;

    color:#555;
    font-size:13px;
    line-height:1.6;

    cursor:pointer;
}

.anketa-agreement input{
    margin-top:4px;
    accent-color:#b89b5e;
}

/* =========================
   SUBMIT
========================= */

.anketa-submit{
    text-align:center;
    margin-top:30px;
}

.anketa-submit button{
    border:none;
    border-radius:6px;

    background:#b89b5e;
    color:#fff;

    padding:13px 28px;

    font-family:inherit;
    font-size:15px;

    cursor:pointer;

    transition:
        background .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.anketa-submit button:hover{
    background:#a88b50;
    transform:translateY(-2px);
    box-shadow:0 6px 15px rgba(0,0,0,.12);
}

/* =========================
   BOTTOM NOTE
========================= */

.anketa-bottom-note{
    max-width:700px;
    margin:25px auto 0;

    text-align:center;

    color:#777;
    font-size:13px;
    line-height:1.6;
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

    .anketa-page{
        padding:15px 12px 40px;
    }

    .anketa-intro{
        margin-bottom:25px;
    }

    .anketa-intro h1{
        font-size:23px;
    }

    .anketa-puppy-photo{
        max-width:100%;
        margin-bottom:20px;
    }

    .anketa-intro p{
        font-size:14px;
        line-height:1.6;
    }

    .anketa-section{
        padding:18px 15px;
        margin-bottom:15px;
    }

    .anketa-section-title{
        font-size:17px;
        margin-bottom:18px;
    }

    .anketa-field{
        margin-bottom:19px;
    }

    .anketa-label{
        font-size:14px;
    }

    .anketa-input,
    .anketa-textarea,
    .anketa-select{
        font-size:16px;
    }

    .anketa-row{
        grid-template-columns:1fr;
        gap:0;
    }

    .anketa-option{
        font-size:14px;
    }

    .anketa-submit button{
        width:100%;
        max-width:350px;
    }
}

/* =========================
   FORM ERROR
========================= */

.anketa-error{
    max-width:850px;
    margin:0 auto 25px;
    padding:15px 18px;

    background:#faf8f3;
    border:1px solid #e8d8b8;
    border-radius:8px;

    color:#8a6d3b;
    font-size:14px;
    line-height:1.6;
    text-align:center;
}