﻿* {
    margin: 0;
    padding: 0;
    font-family: Inter, sans-serif;
}

html,
body {
    height: 100%;
}

body {
    background-color: #ffffff;
}

.login-page {
    display: flex;
    height: 100vh;
    flex-direction: row;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"]::-webkit-textfield-decoration-container {
    display: none !important;
    visibility: hidden;
}

/* Sol taraf - Görsel */
.login-left-side {
    flex: 1;
    background-image: url(../../images/login-background-image.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: clamp(24px, 100px, 600px);
}

.login-info-text {
    color: #ffffff;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: clamp(20px, 1.9vw, 100px);
    font-weight: 600;
    text-align: right;
    padding-right: clamp(15px, 1.5vw, 500px);
    line-height: 100%;
}

    .login-info-text p {
        margin: 0 0 8px 0;
        font-family: 'Source Sans Pro', sans-serif !important;
    }

        .login-info-text p:last-child {
            margin-bottom: 0;
        }


/* Sağ taraf - Form */
.login-right-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 200px;
    background-color: #ffffff;
    overflow-y: auto;
    position: relative;
    padding-left: 150px;
}

.dark-blue {
    color: #343b46;
}

.btn {
    border: 0;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    text-shadow: none;
    background: #ddd;
    line-height: 25px;
    padding-left: 15px;
    padding-right: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    color: #fff;
    background: #AF34F8;
    font-weight: 600;
    float: right;
    width: 125px;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
}

    .btn-primary:hover {
        background: #9333ea;
    }

    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary:active:focus {
        background: #7e22ce;
        outline: none;
    }

.form {
    position: relative;
    z-index: 1;
    background: transparent;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    border: 0;
}

.login-box {
    width: 100%;
}

.login-box-body {
    padding: 0;
    width: 600px;
}

ul {
    padding: 0;
    font-size: 11px;
    list-style: none;
}

.field-validation-error {
    font-size: 11px;
    color: #dc2626;
    margin-top: 5px;
}

.form .logo-wrap {
    display: none;
}

.login-logo {
    display: none;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 6px;
        font-size: 16px;
        font-weight: 500;
        color: #252B37;
    }

    .form-group span.fa {
        position: absolute;
        top: 50%;
        left: 15px;
        transform: translateY(-50%);
        color: #6b7280;
        font-size: 16px;
    }

    .form-group .form-control-feedback-icon {
        position: absolute;
        top: 50%;
        left: 15px;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        object-fit: contain;
        pointer-events: none;
    }

.form input[type="text"],
.form input[type="password"] {
    outline: 0;
    background: #ffffff;
    width: 600px;
    height: 44px;
    border: 1px solid #d1d5db;
    margin: 0;
    padding: 12px 15px 12px 45px;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .form input[type="text"]:focus,
    .form input[type="password"]:focus {
        border-color: #a855f7;
        outline: none;
        box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
    }

.form input::placeholder {
    color: #9ca3af;
}

.info {
    margin: 0 0 40px;
    text-align: left;
}

    .info h1 {
        margin: 0 0 83px;
        padding: 0;
        font-size: 36px;
        font-weight: 600;
        color: #101828;
    }

    .info span {
        color: #6b7280;
        font-size: 14px;
        display: block;
    }

.form .message {
    margin: 20px 0 0;
    color: #6b7280;
    font-size: 14px;
    text-align: left;
}

    .form .message a {
        color: #AF34F8;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
    }

        .form .message a:hover {
            text-decoration: underline;
        }

/* Dil seçici */
.language-selector {
    position: relative;
    text-align: right;
    margin-bottom: 83px;
    z-index: 100;
}

.choose-lang {
    position: relative;
    display: inline-block;
}

.choose-lang-text {
    display: none;
}

/* Dropdown button */
.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: all 0.3s ease;
}

    .lang-dropdown-btn:hover {
        border-color: #d1d5db;
        background: #f9fafb;
    }

    .lang-dropdown-btn img {
        width: 20px;
        height: 15px;
        object-fit: cover;
        border-radius: 2px;
    }

    .lang-dropdown-btn .arrow {
        margin-left: 4px;
        font-size: 10px;
        transition: transform 0.3s ease;
    }

.choose-lang.active .lang-dropdown-btn .arrow {
    transform: rotate(180deg);
}

/* Dropdown menu */
.lang-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 150px;
    z-index: 1000;
    overflow: hidden;
}

.choose-lang.active .lang-dropdown-menu {
    display: block;
}

.lang {
    display: block;
    margin: 0;
}

    .lang a {
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 10px 30px;
        color: #374151;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.2s ease;
    }

        .lang a:hover {
            background: #f3f4f6;
            color: #a855f7;
        }

        .lang a img {
            width: 20px;
            height: 15px;
            object-fit: cover;
            border-radius: 2px;
        }

        .lang a span {
            flex: 1;
        }

/* Domain checkbox */
.form-group.domain-check {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

    .form-group.domain-check label {
        margin: 0 0 0 8px;
        font-weight: 400;
    }

    .form-group.domain-check input[type="checkbox"] {
        width: auto;
        margin: 0;
        padding: 0;
    }

#PasswordSpan {
    display: none;
    color: #F04438;
    font-size: 12px;
    margin-top: 10px;
}


.login-input-error {
    border: 1px solid #FDA29B !important;
    box-shadow: 0 0 0 4px #FEE4E2, 0 1px 2px rgba(10, 13, 18, 0.05) !important;
    outline: none;
    padding-right: 45px !important;
}

.has-login-error::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('../../images/icons/alert-circle-icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    pointer-events: none;
    z-index: 10;
}


.has-login-error .password-toggle-icon {
    display: none !important;
}

.text-danger {
    color: #F04438;
    font-size: 14px !important;
    color: #F04438;
    font-weight: 500;
}

.validation-summary-errors li {
    font-size: 14px;
    color: #F04438;
    font-weight: 500;
}

.validation-summary-errors,
.text-danger-summary {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    background-color: #FFFBFA;
}

    .validation-summary-errors ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

/* Responsive */
@media screen and (max-width: 768px) {
    .login-page {
        flex-direction: column;
    }

    .login-left-side {
        display: none;
    }

    .login-right-side {
        flex: 1;
        padding: 20px;
    }

    .language-selector {
        text-align: center;
        margin-bottom: 30px;
    }

    .info h1 {
        font-size: 24px;
    }
}

@media screen and (max-width: 500px) {
    .login-right-side {
        padding: 15px;
    }

    .form {
        max-width: 100%;
    }
}
