﻿body {
    margin: 0;
    padding: 0;
    font-family: var(--uyg-yazi, 'NunitoTR', 'Segoe UI', system-ui, sans-serif);
    height: 100vh;
    background-color: #f5f5f5;
    overflow: hidden;
    width: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.login-container {
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
}

.left-side {
    position: relative;
    flex: 9;
    /* Gorselin zeminiyle ayni ton: pencere orani degisince gorselin cevresinde gri bant kalmasin */
    background-color: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(/images/png/2.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.right-side {
    position: relative;
    flex: 3;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    opacity: 0.2;
    pointer-events: none;
}
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    max-width: 300px;
    height: auto;
}

.login-form {
    padding: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 4px;
    padding: 0.75rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.btn-login {
    width: 100%;
    padding: 0.75rem;
    background-color: #4169E1;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .btn-login:hover {
        background-color: #3151b5;
    }

.footer {
    text-align: center;
    margin-top: 2rem;
    color: #777;
    font-size: 0.8rem;
}

/* Responsive ayarları */
@media (max-width: 992px) {
    .left-side {
        display: none;
    }
}
#AbpPageAlerts .alert {
    margin-bottom: 20px;
    border-radius: 4px;
}

#AbpPageAlerts .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

#AbpPageAlerts .alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
}

    .btn-close:hover {
        color: #000;
        text-decoration: none;
        opacity: 0.75;
    }

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.language-switch-container {
    position: relative;
    display: inline-block;
}

    .language-switch-container .dropdown {
        position: relative;
    }

    .language-switch-container .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        float: left;
        min-width: 10rem;
        padding: 0.5rem 0;
        margin: 0.125rem 0 0;
        text-align: left;
        list-style: none;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid rgba(0,0,0,.15);
        border-radius: 0.25rem;
    }

    .language-switch-container .dropdown-menu-right {
        right: 0;
        left: auto;
    }    background-color: transparent;
    border: 0;
}

    .language-switch-container .dropdown-item:hover {
        color: #16181b;
        text-decoration: none;
        background-color: #f8f9fa;
    }