:root {
    --primary-color: #19bfce;
    --secondary-color: #3f3731;
    --light-color: #f8f9fa;
    --dark-color: #343a40
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.login-wrapper {
    display: flex;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 15px 30px rgba(0,0,0,.1);
    border-radius: 10px;
    overflow: hidden; overflow-x: auto
}

.login-form-container {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    display: flex;
    align-items: center
}

.login-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto
}

.logo-container {
    text-align: center;
    margin-bottom: 30px
}


.login-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px
}

.login-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 30px
}

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

.input-with-icon {
    position: relative
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd
}

.form-control {
    padding-left: 40px;
    height: 45px;
    border-radius: 5px;
    border: 1px solid #e1e5eb
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 .2rem rgba(25,191,206,.25)
    }

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    cursor: pointer
}

.btn-login {
    width: 100%;
    height: 45px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-weight: 500;
    margin-top: 10px
}

    .btn-login:hover {
        background-color: #15a9b8
    }

.login-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e1e5eb
}

.text-link {
    color: #6c757d;
    font-size: 14px;
    text-decoration: none
}

    .text-link:hover {
        color: var(--primary-color)
    }

.login-visual {
    flex: 1;
    background: linear-gradient(135deg,var(--secondary-color),var(--primary-color));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden; overflow-x: auto
}

.visual-content {
    position: relative;
    text-align: center;
    width: 100%;
    height: 100%
}

.blue-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25,191,206,.3);
    z-index: 1
}

.visual-image {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .4;
    position: relative;
    z-index: 0
}

.visual-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    padding: 30px;
    background: rgba(0,0,0,.5);
    border-radius: 10px;
    z-index: 2;
    width: 80%;
    text-align: center
}

    .visual-overlay h3 {
        font-size: 28px;
        margin-bottom: 15px;
        font-weight: 600
    }

    .visual-overlay p {
        font-size: 16px;
        opacity: .9;
        line-height: 1.6
    }

@media (max-width:992px) {
    .login-visual {
        display: none
    }

    .login-form-container {
        padding: 30px 20px
    }
}


/* ===== OTOMATİK EKLENEN RESPONSIVE KURALLAR ===== */
@media (max-width: 768px) {
    /* Tablo overflow */
    .table-responsive-sm { overflow-x: auto !important; }
    
    /* Kart ve panel başlıkları */
    .card .header h2,
    .card .header h3 {
        font-size: 1rem !important;
        line-height: 1.4;
    }
    
    /* Buton grupları */
    .btn-group,
    .nav-align-top {
        flex-wrap: wrap !important;
        gap: 0.25rem;
    }
    
    /* Sabit genişlik taşmalarını engelle */
    .login-card { width: 100% !important; max-width: 400px; }
    
    /* Input grup */
    .input-group {
        flex-wrap: wrap;
    }
    
    /* Modal tam ekran mobilde */
    .modal-dialog {
        margin: 0.5rem !important;
        max-width: calc(100vw - 1rem) !important;
    }
    
    /* Section padding */
    section.content {
        padding: 0.5rem !important;
    }
    
    /* Footer images */
    .footerimages-row img {
        width: 60px !important;
        height: 60px !important;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    /* Ekstra küçük ekranlar */
    .card {
        margin-bottom: 0.75rem;
    }
    
    /* responsive xs */
    
    /* Başlık font küçült */
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.1rem; }
    
    /* Buton metni gizle, sadece ikon göster (isteğe bağlı) */
    .btn-action { padding: 0.35rem 0.5rem; }
}
