/* ========================================
   YETI LOGIN CSS - WISECP UYUMLU
   Header/Footer çakışmasını önler
   ======================================== */

/* SADECE LOGIN SAYFASI İÇİN - Diğer sayfaları etkilemez */
body#yeti-login-body {
    font-family: 'Titillium Web', sans-serif;
    font-size: 15px;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* WRAPPER - Header/Footer arasına yerleştirir */
body#yeti-login-body main .yeti-login-wrapper {
    width: 100%;
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    padding: 50px 0;
}

/* LOGIN CONTAINER */
.yeti-login-wrapper .page-customer-login {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.yeti-login-wrapper .page-customer-login .container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 40px 60px;        
    max-width: 520px;          
    gap: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* LOGO */
.yeti-login-wrapper .page-customer-login .page-login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.yeti-login-wrapper .page-customer-login .page-login-logo img {
    max-width: 200px;
    max-height: 60px;
    height: auto;
}

/* YETI CONTAINER */
.yeti-login-wrapper .page-customer-login .yeti-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border: 2px solid #3498db;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.yeti-login-wrapper .page-customer-login .yeti-container svg {
    width: 100%;
    height: 100%;
}

.yeti-login-wrapper .page-customer-login .yeti-container .mySVG {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Göz animasyonu için transition */
.yeti-login-wrapper .page-customer-login .yeti-container .eyeL,
.yeti-login-wrapper .page-customer-login .yeti-container .eyeR {
    transition: transform 0.25s ease-out;
}

/* LOGIN FORM */
.yeti-login-wrapper .page-customer-login .login-form {
    display: flex;
    width: 100%;
}

.yeti-login-wrapper .page-customer-login .login-form form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}

/* FORM GROUP */
.yeti-login-wrapper .page-customer-login .login-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.yeti-login-wrapper .page-customer-login .login-form .form-group span {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
}

.yeti-login-wrapper .page-customer-login .login-form .form-group input {
    display: flex;
    align-items: center;
    width: 100%;
    outline: none;
    border: 2px solid #e0e0e0;
    padding: 13px 16px;      
    border-radius: 8px;
    color: #2c3e50;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.yeti-login-wrapper .page-customer-login .login-form .form-group input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* FORM LABEL (Remember & Forgot) */
.yeti-login-wrapper .page-customer-login .login-form .form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}

.yeti-login-wrapper .page-customer-login .login-form .form-label label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    cursor: pointer;
}

/* Custom Checkbox */
.yeti-login-wrapper .page-customer-login .login-form .form-label label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.yeti-login-wrapper .page-customer-login .login-form .form-label label .checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 2px solid #3498db;
    transition: all 0.3s ease;
}

.yeti-login-wrapper .page-customer-login .login-form .form-label label .checkmark:before {
    content: '';
    position: absolute;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    width: 10px;
    height: 5px;
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.yeti-login-wrapper .page-customer-login .login-form .form-label label input:checked ~ .checkmark {
    background: #3498db;
}

.yeti-login-wrapper .page-customer-login .login-form .form-label label input:checked ~ .checkmark:before {
    opacity: 1;
}

/* FORM BUTTON */
.yeti-login-wrapper .page-customer-login .login-form .form-button {
    margin-top: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.yeti-login-wrapper .page-customer-login .login-form .form-button input[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    outline: none;
    border: none;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 8px;
    padding: 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.yeti-login-wrapper .page-customer-login .login-form .form-button input[type="submit"]:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* ========================================
   HEADER / FOOTER DÜZENLEMELERİ
   ======================================== */
body#yeti-login-body header,
body#yeti-login-body .header-con {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 1000 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body#yeti-login-body header img {
    max-height: 22px !important;
    height: auto !important;
    vertical-align: middle !important;
}

body#yeti-login-body .headbutonlar {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    line-height: normal !important;
}

/* FOOTER'i normal koru */
body#yeti-login-body .footer-con {
    position: relative;
    z-index: 1;
}

/* Mobil uyum */
@media (max-width: 767px) {
    .yeti-login-wrapper {
        padding: 30px 15px;
        min-height: calc(100vh - 120px);
    }
    .yeti-login-wrapper .page-customer-login .container {
        padding: 30px 20px;
        max-width: 100%;
    }
}


/* === LOGIN FORM GENİŞLEME / DARALTMA DÜZENİ === */
body#yeti-login-body .page-customer-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px); /* sayfa ortalaması */
    padding: 20px 0;
}

body#yeti-login-body .page-customer-login .container {
    width: 20vw !important;     /* Ekranın %45’i kadar genişlik (dinamik) */
    max-width: 720px !important; /* Büyük ekranda 720px’e kadar genişler */
    min-width: 360px !important; /* Küçük ekranda sınır */
    padding: 30px 50px !important; /* Yukarı-aşağı daralma */
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
