
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d5c4 50%, #d4c4b0 100%);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px 20px 20px;
}

.login-container {
    background: #fff8f0;
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    max-width: 1000px;
    width: 100%;
    margin-top: 40px;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-image {
    flex: 1;
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d5c4 50%, #d4c4b0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

    .login-image::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: rotate 20s linear infinite;
    }

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

    to {
        transform: rotate(360deg);
    }
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kırparak div'e tam sığdırır */
    /* object-fit: contain; /* Resmi tamamen gösterir, boşluk bırakabilir */
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.login-form-wrapper {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    margin-bottom: 40px;
}

    .login-header h1 {
        font-size: 32px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 8px;
    }

    .login-header p {
        color: #666;
        font-size: 15px;
    }

.form-group {
    margin-bottom: 24px;
    position: relative;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #333;
        font-weight: 500;
        font-size: 14px;
    }

.input-wrapper {
    position: relative;
}

    .input-wrapper i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #3c241c;
        font-size: 18px;
        transition: color 0.3s ease;
    }

.form-group input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff3df;
    color: #333;
    font-family: 'Inter', sans-serif;
}

    .form-group input:focus {
        outline: none;
        border-color: #3c241c;
        background: #fff8f0;
        box-shadow: 0 0 0 4px rgba(60, 36, 28, 0.12);
    }

        .form-group input:focus + i,
        .input-wrapper:has(input:focus) i {
            color: #3c241c;
        }

    .form-group input::placeholder {
        color: #999;
    }

.login-button {
    width: 100%;
    padding: 16px;
    background: #3c241c;
    color: #fff3df;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 4px 15px rgba(60, 36, 28, 0.35);
    font-family: 'Inter', sans-serif;
}

    .login-button:hover {
        transform: translateY(-2px);
        background: #3c241c;
        box-shadow: 0 6px 20px rgba(60, 36, 28, 0.45);
    }

    .login-button:active {
        transform: translateY(0);
    }

    .login-button i {
        margin-right: 8px;
    }

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        max-width: 500px;
    }

    .login-image {
        display: none;
    }

    .login-form-wrapper {
        padding: 40px 30px;
    }

    .login-header h1 {
        font-size: 28px;
    }
}
