﻿:root {
    --primary-color: #003300;
    --primary-hover: #003300;
}
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    height: 100vh;
    /* ARKA PLAN RESMİ */
    background: url('../bg-01.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

    /* Koyu overlay (resim daha profesyonel görünür) */
    body::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 0;
    }

.login-wrapper {
    width: 100%;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.login-card {
    max-width: 420px;
    margin: auto;
    padding: 40px 35px;
    border-radius: 20px;
    /* Cam efekti */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    color: white;
}

.input-group-modern {
    position: relative;
}

/*.custom-input {
    height: 50px;
    border-radius: 12px;
    padding-left: 48px;*/ /* icon için boşluk */
    /*border: none;
    outline: none;
}*/

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--primary-color);
    z-index: 2;
}

/* Focus efekti */
.custom-input:focus {
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.25);
    border: 1px solid var(--primary-color);
}


/* GİRİŞ BUTONU */
.btn-login {
    height: 50px;
    border-radius: 12px;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    border: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(13, 92, 13, 0.35);
}

    .btn-login:hover {
        background: var(--primary-hover);
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(13, 92, 13, 0.45);
    }

    .btn-login:active {
        transform: scale(0.98);
    }

/* FORGOT PASSWORD */
.login-actions {
    text-align: right;
    margin-bottom: 15px;
}

.forgot-link {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    transition: 0.3s ease;
}

    .forgot-link::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        background: #ffffff;
        left: 0;
        bottom: -3px;
        transition: 0.3s ease;
    }

    .forgot-link:hover::after {
        width: 100%;
    }

    .forgot-link:hover {
        color: #ffffff;
        opacity: 0.85;
    }
.remember-wrapper {
    margin-bottom: 15px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #ffffff;
    user-select: none;
}

    .custom-checkbox input {
        display: none;
    }

/* Kutunun kendisi */
.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: 0.3s ease;
}

    /* Tik işareti */
    .checkmark::after {
        content: "";
        position: absolute;
        width: 5px;
        height: 10px;
        border: solid #ffffff;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
        top: 1px;
        left: 5px;
        opacity: 0;
        transition: 0.2s ease;
    }

/* Seçili olduğunda */
.custom-checkbox input:checked + .checkmark {
    background: #0d5c0d;
    border-color: #0d5c0d;
}

    .custom-checkbox input:checked + .checkmark::after {
        opacity: 1;
    }

/* Hover efekti */
.custom-checkbox:hover .checkmark {
    border-color: #32d132;
}

/* Yazı */
.checkbox-text {
    font-weight: 500;
}

/* Şifre toggle ikonu */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--primary-color); /* normalde yeşil */
    font-size: 16px;
    transition: 0.3s ease;
}

    /* Hover */
    .toggle-password:hover {
        color: var(--primary-hover);
    }

    /* Şifre görünürken biraz daha belirgin */
    .toggle-password.active {
        color: #32d132;
    }

.input-wrapper {
    position: relative;
}

    /* ICON input içine yerleşsin */
    .input-wrapper .icon {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        height: auto;
        width: auto;
        background: transparent; /* yeşil blok olmasın */
        color: var(--primary-color);
        font-size: 16px;
        z-index: 2;
    }

/* Input sol boşluk ver */
.custom-input {
    height: 50px;
    border-radius: 12px;
    padding-left: 45px; /* ikon için boşluk */
    border: none;
}

    /* Focus efekti */
    .custom-input:focus {
        box-shadow: 0 0 0 3px rgba(13, 92, 13, 0.25);
        border: 1px solid var(--primary-color);
    }

.success-box {
    background: rgba(13, 92, 13, 0.25);
    border: 1px solid rgba(50, 209, 50, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

    .success-box i {
        font-size: 45px;
        margin-bottom: 12px;
        color: #32d132;
    }
.portal-title {
    font-weight: 700;
    color: #ffffff;
}

.btn-portal {
    background-color: #28a745;
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    transition: 0.3s ease;
}

    .btn-portal:hover {
        background-color: #1e7e34;
        transform: translateY(-2px);
    }
