﻿
.login-container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 400px;
    max-width: 442.333px;
}

    .login-container::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.3), rgba(0,0,0,0));
        animation: rotateBG 6s linear infinite;
    }

@keyframes rotateBG {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.login-form {
    position: relative;
    z-index: 2;
}

.form-control {
    border-radius: 25px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

    .form-control:focus {
        transform: scale(1.05);
        outline: none;
        box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
    }

.btn-primary {
    border-radius: 25px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border: none;
    padding: 0.75rem 1.5rem;
    transition: background 0.3s ease-in-out;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #a777e3, #6e8efb);
        box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
    }

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .form-header h1 {
        font-size: 2rem;
        margin: 0;
    }

    .form-header p {
        color: #6c757d;
        line-height: 1.5rem;
    }

.icon {
    margin-right: 0rem;
}

.social-login {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
}

    .social-login a {
        text-decoration: none;
        color: #fff;
        padding: 0.5rem 1rem;
        border-radius: 25px;
        font-size: 1rem;
        transition: background 0.3s ease-in-out;
    }

    .social-login .google {
        color: black;
        background: rgba(78, 93, 120, 0.05);
    }

        .social-login .google:hover {
            background: rgba(78, 93, 120, 0.25);
        }

.additional-links {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

    .additional-links a {
        text-decoration: none;
        color: #6c757d;
        transition: color 0.3s ease-in-out;
    }

        .additional-links a:hover {
            color: #495057;
        }

.form-check-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Mobil: 400px'lik sabit minimum genişlik dar ekranlarda kartı taşırıyordu */
@media (max-width: 480px) {
    .login-container {
        min-width: 0;
        width: calc(100% - 2rem);
        padding: 1.5rem;
    }
}
