* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    background: linear-gradient(135deg, #dcae27 0%, #003c35 48%, #003c35 100%);
    color: #111827;
}

/* ANA SAYFA */
.login-page {
    width: 100%;
    min-height: 100vh;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* KART */
.login-card {
    width: 100%;
    max-width: 1180px;
    min-height: 540px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

/* SOL LOGO ALANI */
.login-brand {
    background: #003c35;
    padding: 55px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-logo-box {
    width: 100%;
    display: flex;
    justify-content: center;
}

.brand-logo {
    width: min(100%, 510px);
    max-height: 230px;
    object-fit: contain;
}

.brand-comment {
    margin-top: 95px;
    text-align: center;
}

    .brand-comment p {
        margin: 0;
        color: rgba(255, 255, 255, 0.62);
        font-size: 18px;
        font-style: italic;
        font-weight: 500;
        line-height: 1.5;
    }

.brand-dots {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .brand-dots span {
        width: 34px;
        height: 4px;
        display: block;
        background: rgba(255, 255, 255, 0.45);
    }

        .brand-dots span.active {
            background: #ffffff;
        }

/* FORM ALANI */
.login-form-area {
    background: #ffffff;
    padding: 70px 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form {
    width: 100%;
    max-width: 500px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 10px;
        color: #111827;
        font-size: 14px;
        font-weight: 600;
    }

.form-control {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #b9c7d8;
    border-radius: 4px;
    background: #eaf2ff;
    color: #000000;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

    .form-control:focus {
        border-color: #7da2d6;
        box-shadow: 0 0 0 3px rgba(125, 162, 214, 0.20);
    }

.password-wrapper {
    position: relative;
}

.password-input {
    padding-right: 45px;
}

.password-eye {
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 40px;
    border: none;
    background: transparent;
    color: #7c8798;
    font-size: 17px;
    cursor: pointer;
}

.remember-row {
    margin-top: -3px;
    margin-bottom: 26px;
}

.remember-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    font-size: 14px;
    cursor: pointer;
}

    .remember-label input {
        width: 15px;
        height: 15px;
        margin: 0;
    }

/* GİRİŞ BUTONU */
.login-button {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 4px;
    background: #43c982;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(67, 201, 130, 0.25);
}

    .login-button:hover {
        background: #36bd75;
    }

/* TAKİP ET ALANI */
.follow-title {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #374151;
    font-size: 14px;
    text-align: center;
}

    .follow-title span {
        height: 1px;
        flex: 1;
        border-top: 1px dashed #d7dce3;
    }

    .follow-title strong {
        white-space: nowrap;
        font-size: 14px;
    }

.social-buttons {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.facebook {
    background: #4b3bbd;
}

.google {
    background: #f0614a;
}

.github {
    background: #151a1f;
}

.twitter {
    background: #2d9cdb;
}

/* TABLET */
@media (max-width: 992px) {
    .login-page {
        padding: 18px;
        align-items: flex-start;
    }

    .login-card {
        max-width: 650px;
        grid-template-columns: 1fr;
    }

    .login-brand {
        min-height: 380px;
        padding: 42px 34px;
    }

    .brand-logo {
        width: min(100%, 430px);
        max-height: 180px;
    }

    .brand-comment {
        margin-top: 52px;
    }

        .brand-comment p {
            font-size: 17px;
        }

    .login-form-area {
        padding: 50px 34px;
    }
}

/* MOBİL */
@media (max-width: 576px) {
    .login-page {
        padding: 10px;
    }

    .login-card {
        border-radius: 4px;
        min-height: auto;
    }

    .login-brand {
        min-height: 350px;
        padding: 36px 24px;
    }

    .brand-logo {
        width: 100%;
        max-height: 165px;
    }

    .brand-comment {
        margin-top: 46px;
    }

        .brand-comment p {
            font-size: 16px;
            line-height: 1.45;
        }

    .brand-dots {
        margin-top: 34px;
    }

        .brand-dots span {
            width: 30px;
            height: 4px;
        }

    .login-form-area {
        padding: 46px 28px 58px;
    }

    .form-control,
    .login-button {
        height: 38px;
    }

    .password-eye {
        height: 38px;
    }

    .follow-title {
        margin-top: 32px;
        gap: 10px;
    }

        .follow-title strong {
            font-size: 13px;
        }

    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 19px;
    }
}

/* ÇOK KÜÇÜK EKRAN */
@media (max-width: 380px) {
    .login-form-area {
        padding-left: 22px;
        padding-right: 22px;
    }

    .login-brand {
        min-height: 320px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .brand-comment p {
        font-size: 15px;
    }
}

.d-none {
    display: none !important;
}

.login-alert {
    width: 100%;
    margin-bottom: 18px;
    padding: 11px 14px;
    border-radius: 4px;
    background: #ffe7e7;
    border: 1px solid #ffb8b8;
    color: #b42318;
    font-size: 14px;
    font-weight: 600;
}

.login-button:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}
