/**
 * POSEIDON DOSYA AÇIKLAMASI
 * Dosya: assets/css/index.css
 * Amaç: Herkese açık doğrulama ve giriş portalının yerleşim, renk, form ve duyarlı ekran stillerini tanımlar.
 */

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #02070d;
    color: #fff;
    overflow-x: hidden;
}

/* BACKGROUND */
.ocean-bg {
    position: fixed;
    inset: 0;
    z-index: -5;
    overflow: hidden;
    background:
        linear-gradient(135deg, #02070d 0%, #07111a 48%, #020508 100%);
}

.ocean-bg::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        linear-gradient(90deg, rgba(255,255,255,.035) .8px, transparent .8px),
        linear-gradient(rgba(255,255,255,.035) .8px, transparent .8px);
    background-size: 46.4px 46.4px, 46.4px 46.4px;
    transform: rotate(-8deg);
    animation: chartMove 28s linear infinite;
    opacity: .32;
}

.ocean-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 58%, rgba(111,158,181,.08) 58% 58.4%, transparent 58.4%),
        linear-gradient(115deg, transparent 0 78%, rgba(201,173,88,.10) 78% 78.25%, transparent 78.25%);
}

.wave {
    display: none;
}

.wave.wave-2 {
    display: none;
}

.radar {
    position: fixed;
    right: 5%;
    top: 8%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 1px solid rgba(111, 158, 181, .16);
    opacity: .38;
    z-index: -3;
    background:
        radial-gradient(circle, transparent 0 24%, rgba(111,158,181,.075) 25% 25.5%, transparent 26% 49%, rgba(111,158,181,.075) 50% 50.5%, transparent 51% 74%, rgba(201,173,88,.07) 75% 75.5%, transparent 76%),
        linear-gradient(90deg, transparent 49.8%, rgba(111,158,181,.10) 50%, transparent 50.2%),
        linear-gradient(0deg, transparent 49.8%, rgba(111,158,181,.10) 50%, transparent 50.2%);
    mix-blend-mode: screen;
}

.radar::before {
    content: "";
    position: absolute;
    inset: 50%;
    width: 50%;
    height: 50%;
    transform-origin: left top;
    background: linear-gradient(45deg, rgba(111,158,181,.34), transparent 58%);
    animation: radarSpin 9s linear infinite;
}

.radar::after {
    content: "";
    position: absolute;
    width: 5.6px;
    height: 5.6px;
    border-radius: 50%;
    background: rgba(201,173,88,.78);
    left: 65%;
    top: 34%;
    box-shadow: 0 0 14.4px rgba(201,173,88,.38);
}

.compass {
    position: fixed;
    left: 5%;
    bottom: 7%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(111,158,181,.15);
    border-radius: 50%;
    z-index: -3;
    opacity: .30;
    mix-blend-mode: screen;
}

.compass::before {
    content: "N";
    position: absolute;
    top: 9.6px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(226,235,241,.58);
    font-weight: 800;
    letter-spacing: 2.4px;
}

.compass::after {
    content: "";
    position: absolute;
    inset: 27.2px;
    clip-path: polygon(50% 0%, 57% 43%, 100% 50%, 57% 57%, 50% 100%, 43% 57%, 0% 50%, 43% 43%);
    background: rgba(111,158,181,.09);
}

@keyframes chartMove {
    from { transform: rotate(-8deg) translate3d(0,0,0); }
    to { transform: rotate(-8deg) translate3d(46.4px,46.4px,0); }
}

@keyframes waveMove {
    from { transform: translateX(0); }
    to { transform: translateX(96px); }
}

@keyframes radarSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* LAYOUT */
.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 27.2px 12.8px;
}

.portal-card {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: .9fr 1.18fr;
    border-radius: 20.8px;
    overflow: hidden;
    background: rgba(4, 13, 24, .72);
    border: .8px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 72px rgba(0,0,0,.55);
    backdrop-filter: blur(14.4px);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.portal-card:hover {
    border-color: rgba(201,173,88,.22);
    box-shadow: 0 30px 86px rgba(0,0,0,.62);
}

.brand-panel {
    position: relative;
    min-height: 520px;
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(160deg, rgba(0,0,0,.68), rgba(0,34,64,.42)),
        radial-gradient(circle at 20% 20%, rgba(0,120,255,.16), transparent 34%);
    border-right: .8px solid rgba(255,255,255,.10);
}

.brand-panel::after {
    content: "";
    position: absolute;
    inset: 19.2px;
    border: .8px solid rgba(255,255,255,.12);
    border-radius: 16px;
    pointer-events: none;
}

.logo {
    display: none;
}

.portal-brand-mark {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 34px;
    padding: 12px 16px 12px 12px;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
        rgba(0,0,0,.20);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 16px 38px rgba(0,0,0,.22);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.portal-brand-mark:hover {
    transform: translateY(-3px);
    border-color: rgba(201,173,88,.28);
    background:
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
        rgba(0,0,0,.25);
    box-shadow: 0 24px 48px rgba(0,0,0,.30);
}

.portal-brand-mark:hover .portal-brand-logo img {
    transform: scale(1.045) rotate(-1deg);
    filter: drop-shadow(0 12px 18px rgba(201,173,88,.14));
}

.portal-brand-logo {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 74px;
}

.portal-brand-logo img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.30));
    transition: transform .25s ease, filter .25s ease;
}

.portal-brand-meta {
    display: flex;
    flex-direction: column;
    line-height: 1;
    min-width: 0;
}

.portal-brand-kicker {
    color: #c9ad58;
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.portal-brand-title {
    color: #f5f8fb;
    font-size: 21px;
    font-weight: 950;
    letter-spacing: .085em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 8px 18px rgba(0,0,0,.28);
}

.portal-brand-subtitle {
    color: rgba(226,235,241,.66);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-top: 7px;
}

.brand-kicker {
    color: #7cc7ff;
    font-size: 9.6px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 11.2px;
}

.brand-title {
    font-size: clamp(25px, 2.35vw, 34px);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -.35px;
    margin-bottom: 14px;
}

.brand-text {
    max-width: 430px;
    color: rgba(255,255,255,.74);
    font-size: 12px;
    line-height: 1.75;
}

.brand-info-grid {
    margin-top: 28px;
    display: grid;
    gap: 10px;
}

.brand-info-item {
    display: flex;
    gap: 9.6px;
    align-items: flex-start;
    padding: 10.4px 11.2px;
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    border: .8px solid rgba(255,255,255,.09);
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
    cursor: pointer;
}

.brand-info-item:hover {
    transform: translateX(4px);
    border-color: rgba(201,173,88,.26);
    background: rgba(255,255,255,.065);
}

.brand-info-item:focus-visible {
    outline: 2px solid rgba(201,173,88,.45);
    outline-offset: 4px;
}

.brand-info-item i {
    width: 27.2px;
    height: 27.2px;
    min-width: 27.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8.8px;
    background: rgba(91,184,255,.12);
    color: #7cc7ff;
    font-size: 11.2px;
}

.brand-info-trigger {
    appearance: none;
    border: 0;
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0 0 2.4px;
    background: transparent;
    color: #fff;
    font-size: 10.4px;
    font-weight: 850;
    line-height: 1.25;
    text-align: left;
    cursor: inherit;
    transition: color .18s ease, transform .18s ease;
}

.brand-info-trigger:hover {
    color: #f2df9b;
    transform: translateX(2px);
}

.brand-info-trigger:focus-visible {
    outline: 2px solid rgba(201,173,88,.45);
    outline-offset: 3px;
    border-radius: 6px;
}

.brand-info-item span {
    display: block;
    color: rgba(255,255,255,.64);
    font-size: 9.6px;
    line-height: 1.45;
}

.brand-note {
    margin-top: 14.4px;
    padding: 11.2px 12px;
    border-radius: 12.8px;
    background: rgba(0, 53, 102, .18);
    border: .8px solid rgba(91,184,255,.14);
    color: rgba(255,255,255,.68);
    font-size: 9.6px;
    line-height: 1.55;
}

.brand-note strong {
    display: block;
    color: #ffffff;
    font-size: 10.4px;
    margin-bottom: 3.2px;
}

.form-panel {
    padding: 26px;
    background: rgba(255,255,255,.94);
    color: #182230;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.verification-intro {
    padding: 2px 2px 4px;
}

.verification-eyebrow {
    color: #0b72bd;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.verification-intro h2 {
    margin: 0 0 6px;
    color: #0f1720;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -.03em;
}

.verification-intro p {
    margin: 0;
    max-width: 680px;
    color: #667085;
    font-size: 11px;
    line-height: 1.65;
}

.verification-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.section-card {
    border: .8px solid #d9e3ee;
    background: #ffffff;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 9.6px 22.4px rgba(16, 24, 40, .06);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.section-card:hover {
    transform: translateY(-3px);
    border-color: #bdd4e6;
    box-shadow: 0 16px 34px rgba(16, 24, 40, .11);
}

.section-card + .section-card {
    margin-top: 0;
}

.verification-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.verification-card form {
    margin-top: auto;
}

.verification-card .section-head {
    min-height: 82px;
}

.verification-card .btn-main {
    height: 37px;
    white-space: nowrap;
    font-size: 12px;
}

.login-card {
    margin-top: 0;
    background: #f8fbfd;
    padding: 16px;
}

.verification-note {
    margin-top: 0;
    padding: 9px 12px;
    border-radius: 13px;
    background: #f5f9fc;
    border: 1px solid #dce8f1;
}

.verification-contact-card {
    padding: 12px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(0,53,102,.055), rgba(201,173,88,.055)),
        #ffffff;
    border: 1px solid #dce8f1;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .055);
}

.contact-card-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.contact-card-head > i {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #003566;
    background: #eaf3ff;
}

.contact-card-head strong {
    display: block;
    color: #0f1720;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 3px;
}

.contact-card-head span {
    display: block;
    color: #667085;
    font-size: 10.5px;
    line-height: 1.55;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: .9fr 1fr 1.35fr;
    gap: 8px;
}

.contact-card-grid div:nth-child(3) {
    grid-column: auto;
}

.contact-card-grid div {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 7px 8px;
    border-radius: 11px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(208,213,221,.72);
    color: #344054;
    font-size: 9.8px;
    font-weight: 750;
    line-height: 1.35;
}

.contact-card-grid i {
    color: #0b72bd;
    min-width: 13px;
}

.section-head {
    display: flex;
    gap: 10.4px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.section-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 11.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf3ff;
    color: #003566;
    font-size: 14.4px;
    transition: transform .22s ease, background .22s ease, color .22s ease;
}

.section-card:hover .section-icon {
    transform: translateY(-1px) scale(1.04);
    background: #ddefff;
    color: #005a9d;
}

.section-title {
    font-size: 13.5px;
    font-weight: 850;
    margin: 0;
    color: #003566;
}

.section-desc {
    font-size: 9.7px;
    color: #667085;
    margin: 3.2px 0 0;
    line-height: 1.55;
}

.form-label {
    font-size: 10.4px;
    font-weight: 750;
    color: #344054;
}

.input-wrap {
    position: relative;
}

.input-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #98a2b3;
    font-size: 11.2px;
}

.form-control {
    height: 36px;
    border-radius: 10.4px;
    border-color: #d0d5dd;
    padding-left: 33.6px;
    font-weight: 650;
}

.form-control:focus {
    border-color: #1f7acb;
    box-shadow: 0 0 0 .22rem rgba(31,122,203,.14);
}

.verify-input {
    text-align: center;
    letter-spacing: .08em;
    padding-left: 33.6px;
    text-transform: uppercase;
}

.btn-main {
    height: 36px;
    border-radius: 10.4px;
    border: 0;
    font-weight: 800;
    letter-spacing: .02em;
    color: #fff;
    background: linear-gradient(135deg, #003566, #0b72bd);
    box-shadow: 0 9.6px 19.2px rgba(0,53,102,.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    line-height: 1;
}

.btn-main:hover {
    color: #fff;
    background: linear-gradient(135deg, #00284d, #005fa3);
    transform: translateY(-1px);
    box-shadow: 0 13px 24px rgba(0,53,102,.28);
}

.btn-login {
    background: linear-gradient(135deg, #111820, #003566);
}

.btn-login:hover {
    background: linear-gradient(135deg, #003566, #111820);
}

.portal-info-modal .modal-content {
    border: 1px solid rgba(201,173,88,.22);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(14, 20, 25, .98), rgba(4, 8, 11, .98));
    color: #e8eff4;
    box-shadow: 0 28px 80px rgba(0,0,0,.48);
}

.portal-info-modal .modal-header {
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 18px 20px;
}

.portal-info-modal .modal-body {
    padding: 20px;
}

.portal-info-modal .modal-body p {
    margin: 0;
    color: rgba(226,235,241,.74);
    line-height: 1.75;
    font-size: 14px;
}

.portal-info-modal .modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-info-modal .modal-title {
    color: #fff;
    font-weight: 900;
    letter-spacing: .02em;
}

.portal-info-modal .modal-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #c9ad58;
    background: rgba(201,173,88,.10);
    border: 1px solid rgba(201,173,88,.24);
}

.portal-info-modal .btn-close {
    filter: invert(1) grayscale(1);
    opacity: .75;
}

.alert {
    border-radius: 10.4px;
    font-size: 10.4px;
}

.security-note {
    margin-top: 12px;
    font-size: 9.6px;
    color: #667085;
    display: flex;
    gap: 6.4px;
    align-items: flex-start;
}

.security-note i {
    margin-top: 1.6px;
    color: #12b76a;
}

@media(min-width: 900px) {
    .login-card form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 128px;
        gap: 12px;
        align-items: end;
    }

    .login-card form .mb-3,
    .login-card form .mb-4 {
        margin-bottom: 0 !important;
    }

    .login-card .btn-main {
        grid-column: auto;
    }
}

@media(max-width: 1050px) {
    .portal-card {
        grid-template-columns: 1fr;
        max-width: 840px;
    }

    .brand-panel {
        min-height: auto;
        padding: 34px;
    }

    .brand-info-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .form-panel {
        padding: 26px;
    }
}

@media(max-width: 720px) {
    .portal-card {
        grid-template-columns: 1fr;
        max-width: 448px;
    }

    .verification-card-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-grid div:nth-child(3) {
        grid-column: auto;
    }

    .brand-panel {
        min-height: auto;
        padding: 27.2px 20.8px;
        text-align: center;
    }

    .brand-panel::after {
        inset: 11.2px;
    }

    .logo {
        display: none;
    }

    .portal-brand-mark {
        margin-bottom: 20px;
        padding: 10px 12px;
        gap: 11px;
    }

    .portal-brand-logo,
    .portal-brand-logo img {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .portal-brand-title {
        font-size: 16px;
    }

    .portal-brand-kicker {
        font-size: 7.5px;
    }

    .portal-brand-subtitle {
        font-size: 8px;
    }

    .brand-title {
        font-size: 20px;
    }

    .brand-text {
        margin: 0 auto;
    }


    .form-panel {
        padding: 17.6px;
    }

    .radar {
        width: 184px;
        height: 184px;
        right: -56px;
        top: 16px;
    }

    .compass {
        width: 120px;
        height: 120px;
        left: -32px;
        bottom: 24px;
    }
	
	 .brand-info-grid {
        margin-top: 17.6px;
        grid-template-columns: 1fr;
    }

}

@media(max-width: 384px) {
    .page {
        padding: 11.2px 8px;
        align-items: flex-start;
    }

    .portal-card {
        border-radius: 16px;
    }

    .brand-panel {
        padding: 22.4px 14.4px;
    }

    .form-panel {
        padding: 12.8px;
    }

    .section-card {
        padding: 14.4px;
        border-radius: 13.6px;
    }

    .section-head {
        gap: 8px;
    }

    .section-icon {
        width: 30.4px;
        height: 30.4px;
        min-width: 30.4px;
        border-radius: 9.6px;
    }

    .section-title {
        font-size: 13.6px;
    }

    .section-desc {
        font-size: 9.6px;
    }

    .form-control,
    .btn-main {
        height: 38.4px;
    }
}
