/* =========================================
   GENEL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #111827,
            #1e3a8a
        );

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
}


/* =========================================
   ANA CONTAINER
========================================= */

.login-container {
    width: 100%;
    max-width: 420px;
}


/* =========================================
   LOGIN KUTUSU
========================================= */

.login-box {
    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    border-radius: 22px;

    padding: 42px 38px;

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.30);
}
.hatatitle{
height: 66px;
display: flex;
justify-content: center;
align-items: center;
color:#900

}

/* =========================================
   LOGO
========================================= */

.logo {
  
    height: 70px;

    margin: 0 auto 22px;

    border-radius: 20px;

  
 color:  #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;

   
           
        

    font-size: 28px;
    font-weight: bold;


}


/* =========================================
   BAŞLIK
========================================= */

h1 {
    text-align: center;

    color: #111827;

    font-size: 28px;

    margin-bottom: 8px;
}


/* =========================================
   AÇIKLAMA
========================================= */

.subtitle {
    text-align: center;

    color: #6b7280;

    font-size: 14px;

    line-height: 1.5;

    margin-bottom: 30px;
}


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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    color: #374151;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 8px;
}


/* =========================================
   INPUT
========================================= */

.input-box {
    position: relative;
}

.input-icon {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #9ca3af;

    font-size: 17px;

    pointer-events: none;

    z-index: 2;
}

.input-box input {
    width: 100%;
    height: 52px;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    padding:
        0 15px 0 45px;

    font-family: inherit;

    font-size: 15px;

    outline: none;

    color: #111827;

    background: #f9fafb;

    transition:
        border-color 0.25s,
        background 0.25s,
        box-shadow 0.25s;
}

.input-box input::placeholder {
    color: #9ca3af;
}

.input-box input:focus {
    background: #ffffff;

    border-color: #2563eb;

    box-shadow:
        0 0 0 4px
        rgba(37, 99, 235, 0.10);
}


/* =========================================
   HATIRLA / ŞİFREMİ UNUTTUM
========================================= */

.options {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin:
        5px 0 24px;

    font-size: 13px;
}

.remember {
    display: flex !important;

    align-items: center;

    gap: 7px;

    color: #6b7280;

    font-weight: normal !important;

    margin: 0 !important;

    cursor: pointer;
}

.remember input {
    width: 15px;
    height: 15px;

    margin: 0;

    accent-color: #2563eb;

    cursor: pointer;
}

.forgot {
    color: #2563eb;

    text-decoration: none;

    font-weight: 600;
}

.forgot:hover {
    text-decoration: underline;
}


/* =========================================
   GİRİŞ BUTONU
========================================= */

.login-btn {
    width: 100%;
    height: 52px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5
        );

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition:
        transform 0.25s,
        box-shadow 0.25s,
        opacity 0.25s;

    box-shadow:
        0 8px 20px
        rgba(37, 99, 235, 0.25);
}

.login-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(37, 99, 235, 0.35);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:focus-visible {
    outline: 3px solid
        rgba(37, 99, 235, 0.25);

    outline-offset: 3px;
}


/* =========================================
   KAYIT
========================================= */

.register {
    text-align: center;

    margin-top: 25px;

    color: #6b7280;

    font-size: 14px;
}

.register a {
    color: #2563eb;

    font-weight: bold;

    text-decoration: none;
}

.register a:hover {
    text-decoration: underline;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    text-align: center;

    color:
        rgba(255, 255, 255, 0.60);

    font-size: 12px;

    margin-top: 22px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 600px) {

    body {
        padding: 15px;
    }

    .login-box {
        padding: 30px 22px;

        border-radius: 18px;
    }

    .logo {
  
        height: 62px;

        margin-bottom: 18px;

        border-radius: 17px;

        font-size: 24px;
    }

    h1 {
        font-size: 24px;
    }

    .subtitle {
        font-size: 13px;

        margin-bottom: 25px;
    }

    .form-group {
        margin-bottom: 17px;
    }

    /*
       16px özellikle mobil Safari
       için daha güvenlidir.
    */
    .input-box input,
    .login-btn {
        height: 54px;

        font-size: 16px;
    }

    .options {
        margin-bottom: 20px;
    }

    .register {
        margin-top: 22px;
    }
}


/* =========================================
   KÜÇÜK TELEFONLAR
========================================= */

@media (max-width: 360px) {

    body {
        padding: 10px;
    }

    .login-box {
        padding: 25px 18px;
    }

    .logo {
        width: 56px;
        height: 56px;

        font-size: 21px;
    }

    h1 {
        font-size: 22px;
    }

    .subtitle {
        font-size: 12px;
    }

    .options {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

    .forgot {
        align-self: flex-end;
    }
}


/* =========================================
   TELEFON YATAY
========================================= */

@media (max-height: 550px)
       and (orientation: landscape) {

    body {
        align-items: flex-start;

        overflow-y: auto;

        padding: 20px;
    }

    .login-box {
        margin: 10px auto;
    }

    .logo {
        width: 50px;
        height: 50px;

        margin-bottom: 10px;
    }

    h1 {
        font-size: 22px;
    }

    .subtitle {
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 12px;
    }
}

