/* Saadet Partisi kirmizi tema - tam style.css */
:root{
    --sp-red:#d71920;
    --sp-red-dark:#b31218;
    --sp-red-soft:#fff5f5;
    --text:#172033;
    --muted:#5d6879;
    --border:#d8e0ea;
    --bg:#f4f6f9;
    --card:#ffffff;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:var(--bg);
    color:var(--text);
}

.page{
    width:min(980px,100%);
    margin:auto;
    padding:18px;
}

.page.wide{
    width:min(1500px,100%);
}

.hero{
    background:linear-gradient(135deg,var(--sp-red),var(--sp-red-dark));
    color:white;
    padding:32px;
    border-radius:22px;
    margin-bottom:20px;
    box-shadow:0 15px 35px rgba(215,25,32,.20);
}

.hero h1{
    margin:8px 0 10px;
    font-size:clamp(24px,4vw,38px);
    line-height:1.15;
}

.hero p{
    margin:0;
    opacity:.95;
    line-height:1.6;
}

.badge{
    display:inline-block;
    background:white;
    color:var(--sp-red);
    padding:8px 14px;
    border-radius:999px;
    font-size:14px;
    font-weight:700;
}

.form-card{
    background:var(--card);
    padding:24px;
    border-radius:18px;
    box-shadow:0 10px 26px rgba(21,31,46,.08);
}

section{
    border-bottom:1px solid #e8edf3;
    padding:10px 0 24px;
    margin-bottom:18px;
}

section:last-of-type{
    border-bottom:0;
}

h2{
    font-size:20px;
    margin:0 0 18px;
    color:var(--sp-red);
}

.grid{
    display:grid;
    gap:14px;
}

.grid.two{
    grid-template-columns:repeat(2,minmax(0,1fr));
}

label{
    display:block;
    font-weight:700;
    margin-bottom:14px;
}

input,
select,
textarea{
    width:100%;
    margin-top:7px;
    border:2px solid var(--border);
    border-radius:20px;
    font-size:17px;
    background:white;
    color:var(--text);
    transition:.25s;
}

input,
select{
    height:60px;
    padding:0 24px;
}

textarea{
    min-height:140px;
    padding:18px 24px;
    resize:vertical;
}

input::placeholder,
textarea::placeholder{
    color:#707b8c;
}

input:focus,
select:focus,
textarea:focus{
    outline:none;
    border-color:var(--sp-red);
    box-shadow:0 0 0 5px rgba(215,25,32,.10);
}

.question{
    margin:0 0 18px;
}

.question p{
    font-weight:700;
    margin:0 0 10px;
}

.question span{
    font-weight:400;
    color:var(--muted);
}

.checks{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-bottom:10px;
}

.checks label,
.question > label{
    font-weight:500;
    margin:0;
    background:white;
    border:1px solid #e2e8f0;
    border-radius:16px;
    padding:14px;
    transition:.2s;
}

.checks label:hover,
.question > label:hover{
    border-color:var(--sp-red);
    background:var(--sp-red-soft);
}

.checks input,
.question > label input{
    width:auto;
    height:auto;
    margin:0 8px 0 0;
    accent-color:var(--sp-red);
}

button{
    width:100%;
    border:0;
    background:var(--sp-red);
    color:white;
    padding:18px;
    border-radius:18px;
    font-size:18px;
    font-weight:800;
    cursor:pointer;
    transition:.25s;
}

button:hover{
    background:var(--sp-red-dark);
}

.alert{
    padding:14px 16px;
    border-radius:14px;
    margin:14px 0;
    font-weight:700;
}

.success{
    background:#d1e7dd;
    color:#0f5132;
}

.error{
    background:#f8d7da;
    color:#842029;
}

.table-wrap{
    background:white;
    border-radius:16px;
    box-shadow:0 10px 26px rgba(21,31,46,.08);
    overflow:auto;
}

table{
    width:100%;
    border-collapse:collapse;
    font-size:14px;
}

th,
td{
    padding:12px;
    border-bottom:1px solid #edf2f7;
    text-align:left;
    white-space:nowrap;
}

th{
    background:var(--sp-red);
    color:white;
    position:sticky;
    top:0;
}

@media(max-width:720px){
    .page{
        padding:10px;
    }

    .form-card{
        padding:16px;
    }

    .grid.two,
    .checks{
        grid-template-columns:1fr;
    }

    .hero{
        padding:20px;
        border-radius:14px;
    }

    .hero h1{
        font-size:26px;
    }

    section{
        padding-bottom:18px;
    }

    input,
    select{
        height:56px;
        font-size:16px;
    }

    textarea{
        font-size:16px;
    }

    button{
        height:58px;
        padding:0 18px;
    }
}
