/* odanova.com — odanova.wbeapps.com giriş ekranıyla aynı görsel dil */
:root {
    --primary: #679e00;
    --secondary: #002e4a;
    --brand-blue: #0e4679;
    --hover-blue: #2271b9;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

/* wbeapps ile birebir: arka plan 100% 100%, sabit ve görünüm alanı kadar.
   Sayfa uzasa da resim gerilmez; ::before katmanı sayfayla birlikte kaymaz. */
.odn-body {
    min-height: 100vh;
    background: #fff;
    position: relative;
    z-index: 0;
}

.odn-body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: #fff url('https://odanova.wbeapps.com/Design/Common/Login/images/default_login_bg.png') no-repeat 0% 0%;
    background-size: 100% 100%;
}

/* ---- Üst bar: sağda butonlar ---- */
.odn-topbar {
    position: absolute;
    top: 24px;
    right: 100px;
    display: flex;
    gap: 12px;
    z-index: 2;
}

.odn-btn {
    display: inline-block;
    height: 40px;
    min-width: 120px;
    padding: 0 20px;
    line-height: 40px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 1px 0 6px rgba(0, 0, 0, .35);
    transition: background .2s ease;
}

.odn-btn-login { background: var(--secondary); }
.odn-btn-home  { background: var(--brand-blue); }
.odn-btn:hover { background: var(--hover-blue); }

/* ---- Kart ---- */
/* Kart wbeapps'teki gibi: sağ 100px, dikeyde ekranın ortası (top: calc(50% - 245px)).
   Form uzun olunca kart aşağı uzar ve sayfa kayar. */
.odn-wrapper {
    position: absolute;
    right: 100px;
    top: calc(50% - 245px);
    width: 400px;
    padding-bottom: 40px;
}

.odn-card {
    width: 100%;
    padding: 20px 30px 30px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 1px 0 6px #000;
    border-radius: 5px;
}

.odn-logo img {
    display: block;
    max-width: 320px;
    max-height: 85px;
    margin: 0 auto;
}

.odn-title {
    margin: 30px 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-blue);
    text-align: center;
}

.odn-lead {
    margin: 0 0 24px;
    font-size: 13px;
    color: #333;
    text-align: center;
    line-height: 1.5;
}

/* ---- Form ---- */
.odn-row { margin-bottom: 10px; }

.odn-input {
    display: block;
    width: 100%;
    height: 40px;
    padding: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #222;
    background: #fff;
    border: 1px solid #888;
    border-radius: 5px;
    outline: none;
}

.odn-input:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 2px rgba(14, 70, 121, .15); }

.odn-textarea {
    height: 96px;
    resize: vertical;
}

.odn-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.odn-actions {
    margin-top: 14px;
    text-align: right;
}

.odn-submit { min-width: 140px; }
.odn-submit:disabled { opacity: .5; cursor: not-allowed; }

.odn-status {
    margin: 16px 0 0;
    padding: .75rem 1.25rem;
    font-size: 13px;
    text-align: center;
    border-radius: .25rem;
    border: 1px solid transparent;
}
.odn-status.is-error   { color: #bb0011; background: #f3c0c5; border-color: #ff8d9a; }
.odn-status.is-success { color: #1d5e00; background: #dcefc2; border-color: #9fcf5f; }

.odn-forgot {
    margin: 18px 0 0;
    font-size: 13px;
    text-align: center;
    color: #333;
}
.odn-forgot a {
    font-weight: 700;
    color: #006fe6;
    text-decoration: none;
}
.odn-forgot a:hover { text-decoration: underline; }

/* ---- Karşılama kartı (form açılmadan önce) ---- */
.odn-landing {
    padding: 10px 0 6px;
    text-align: center;
}

.odn-welcome {
    margin: 26px 0 22px;
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-blue);
}

.odn-big {
    display: block;
    width: 100%;
    height: 46px;
    line-height: 46px;
    min-width: 0;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.odn-back {
    display: inline-block;
    margin-bottom: 8px;
    padding: 0;
    border: none;
    background: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #006fe6;
    cursor: pointer;
}
.odn-back:hover { text-decoration: underline; }

/* ---- KVKK aydınlatma sayfası ---- */
.odn-legal-wrap {
    display: flex;
    justify-content: center;
    padding: 110px 16px 40px;
}

.odn-legal {
    width: 100%;
    max-width: 820px;
    padding: 28px 36px 36px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 1px 0 6px #000;
    border-radius: 5px;
    color: #222;
    font-size: 14px;
    line-height: 1.6;
}

.odn-legal h1 {
    margin: 0 0 8px;
    font-size: 22px;
    color: var(--brand-blue);
}

.odn-legal h2 {
    margin: 22px 0 6px;
    font-size: 15px;
    color: var(--brand-blue);
}

.odn-legal p, .odn-legal li { margin: 6px 0; }
.odn-legal ul { padding-left: 20px; }

.odn-legal-date { color: #555; font-size: 13px; }

/* Yayın öncesi doldurulacak alanlar */
.odn-ph {
    background: #fff3b0;
    padding: 0 3px;
    border-radius: 3px;
}

.odn-legal-back { margin-top: 24px; }
.odn-legal-back a { color: #006fe6; font-weight: 700; }

@media (max-width: 600px) {
    .odn-legal { padding: 20px 18px 24px; }
}

/* ---- Dil seçici (EN / TR) ---- */
.odn-lang {
    display: flex;
    height: 40px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 1px 0 6px rgba(0, 0, 0, .35);
}

.odn-lang-btn {
    min-width: 48px;
    padding: 0 12px;
    border: none;
    background: #fff;
    color: var(--secondary);
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.odn-lang-btn.is-active {
    background: var(--secondary);
    color: #fff;
}

/* ---- Form alanları (etiketli) ---- */
.odn-field { margin-bottom: 12px; }

.odn-field > label {
    display: block;
    margin-bottom: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-blue);
    line-height: 1.4;
}

.odn-req { color: #bb0011; }

.odn-fieldset {
    border: none;
    margin: 0 0 12px;
    padding: 0;
}

.odn-fieldset legend {
    padding: 0;
    margin-bottom: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-blue);
}

.odn-check {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 14px;
    font-size: 13px;
    color: #222;
    cursor: pointer;
}

.odn-subtitle {
    margin: 22px 0 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(14, 70, 121, .25);
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-blue);
}

/* ---- Responsive: wbeapps ile aynı kırılımlar ---- */
@media (max-width: 600px) {
    .odn-topbar {
        top: 14px;
        left: 0;
        right: 0;
        justify-content: center;
    }
    .odn-btn { min-width: 0; flex: 1; padding: 0 10px; }
    .odn-wrapper {
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 85%;
        top: 90px;
    }
    .odn-card { padding: 20px 18px 24px; }
}
