﻿html, body {
    height: 100%;
}
* {
    box-sizing: border-box
}
:root {
    --red: #c41212; /* sol panel rengi */
    --red-dark: #a20f0f;
    --text: #1f2937;
    --muted: #6b7280;
    --bg: #f7f7f8;
    --white: #ffffff;
    --accent: #d1d5db; /* input border */
    --sidebar-w: 500px; /* SOL PANEL GENİŞLİĞİ */
    --radius: 14px;
}


.sidebar {
    position: fixed;
    inset: 0 auto 0 0; /* top:0; right:auto; bottom:0; left:0 */
    width: var(--sidebar-w);
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.brand {
    text-align: center;
    user-select: none;
}

.brand img {
    width: 400px;
}

.main {
    margin-left: var(--sidebar-w);
    height: 100vh; /* görünüm yüksekliği kadar */
    overflow-y: auto; /* sadece sağ taraf kayar */
    padding: 40px 48px;
}


.container {
    max-width: 800px;
    margin: 0 auto
}

.header{
    padding:1rem 0;
    border-bottom:1px solid #ccc;
    margin-bottom:1rem;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:15px;
}

.title{
    margin-bottom:2rem;
}

.title h1{
    font-size:2rem;
}

.title p{
    color:var(--text);
    font-size:1.1rem;
}

.link-text{
    color:var(--red);
    font-weight:700;
}

.link-text:hover{
    color:var(--red);
    text-decoration:underline;
}

.gender{
    display:flex;
    gap:20px;
    padding:1rem 0;
}


.radio-field{
    padding:1rem 0 0; 
}

@media only screen and (max-width: 600px) {
    .sidebar{
        position:unset;
        width:100%;
        display:block;
    }

    .main {
        margin-left: 0;
        padding: 10px 18px;
        overflow-y: unset;
        height: auto;
    }

}