﻿/* Genel stil */
body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: linear-gradient(135deg, #fefaf7 0%, #f8f2ef 50%, #f4f0ee 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ana kutu */
.container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 36px rgba(35, 31, 32, 0.12);
    padding: 64px 48px 48px;
    max-width: 520px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* Logo */
.logo {
    margin-bottom: 40px;
}

    .logo img {
        width: 300px;
        height: auto;
        display: block;
    }

/* Başlık */
h2 {
    color: #231F20;
    font-weight: 700;
    font-size: 1.9rem;
    margin-bottom: 32px;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Form alanları */
.form-group {
    width: 100%;
    margin-bottom: 22px;
    position: relative;
}

    .form-group i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #EF7622;
        font-size: 1.18rem;
        opacity: 0.9;
    }

.form-control {
    width: 100%;
    padding: 14px 12px 14px 50px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 1.05rem;
    background: #f9f9f9;
    color: #231F20;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

    .form-control:focus {
        border-color: #EF7622;
        background: #ffffff;
    }

/* Şifre alanı için özel stil */
.password-group {
    position: relative;
}

    .password-group .form-control {
        padding-right: 48px; /* toggle-password için sağ boşluk */
    }

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 32px;
    color: #EF7622;
    cursor: pointer;
    z-index: 1;
}

    .toggle-password i {
        pointer-events: none;
    }

    .toggle-password:focus,
    .toggle-password:hover {
        color: #231F20;
    }

    .toggle-password.clicked i {
        animation: eye-bounce 0.3s ease;
    }

@keyframes eye-bounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.25);
    }

    60% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}



/* Buton */
.btn {
    width: 100%;
    background: linear-gradient(90deg, #EF7622 0%, #231F20 100%);   
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 16px 0;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 10px rgba(239, 118, 34, 0.12);
    letter-spacing: 0.5px;
}

    .btn:hover,
    .btn:focus {
        background: linear-gradient(90deg, #231F20 0%, #EF7622 100%);
        box-shadow: 0 5px 18px rgba(239, 118, 34, 0.16);
    }

/* Hata mesajı */
.text-danger {
    color: #d32f2f;
    margin-top: 20px;
    font-size: 1rem;
    min-height: 22px;
    text-align: center;
    font-weight: 500;
}

/* Responsive uyum */
@media (max-width: 768px) {
    .container {
        padding: 40px 28px;
        max-width: 90vw;
    }

    .logo img {
        width: 180px;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 28px 16px;
    }

    .logo img {
        width: 140px;
    }

    h2 {
        font-size: 1.3rem;
    }

    .form-control {
        padding: 13px 12px 13px 44px;
        font-size: 1rem;
    }

    .btn {
        font-size: 1.05rem;
        padding: 14px 0;
    }

    .form-group i {
        font-size: 1rem;
        left: 12px;
    }
}
.mGrid th, .table-header {
    background: var(--primary-color) !important;
    color: #fff !important;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}

.mGrid td, .table-row, .table-alt-row {
    background: #fff !important;
    color: var(--text-color) !important;
    border-bottom: 1px solid var(--border-color);
}

.mGrid .badge {
    font-size: 1rem;
    padding: 0.3em 0.8em;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
}