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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #0a0a0a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Main Wrapper */
.main-wrapper {
    display: flex;
    min-height: 650px;
}

/* Sol Bölüm - Karşılama Alanı */
.welcome-section {
    flex: 1;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #0a0a0a 100%);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.welcome-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.logo-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.school-logo {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-placeholder-fallback {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

.school-name {
    font-size: 28px;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Dekoratif Şekiller */
.decorative-shapes {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 20px;
    opacity: 0.3;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    bottom: 10%;
    left: 10%;
    transform: rotate(-15deg);
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    bottom: 25%;
    left: 25%;
    transform: rotate(25deg);
    animation: float 8s ease-in-out infinite;
}

.shape-3 {
    width: 100px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    bottom: 15%;
    right: 20%;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}

.shape-4 {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.08);
    bottom: 30%;
    right: 10%;
    transform: rotate(-30deg);
    border-radius: 50%;
    animation: float 9s ease-in-out infinite;
}

.shape-5 {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    bottom: 5%;
    left: 40%;
    transform: rotate(60deg);
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Sağ Bölüm - Giriş Formu */
.login-section {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-title {
    text-align: center;
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 50px;
    font-weight: 700;
    letter-spacing: 2px;
}

.login-form {
    width: 100%;
}

.input-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #1a1a1a;
    font-size: 18px;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 18px 16px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #333;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #1a1a1a;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.1);
}

.input-wrapper input::placeholder {
    color: #999;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 15px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #555;
    font-size: 14px;
    user-select: none;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #1a1a1a;
}

.forgot-password {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #666;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #0a0a0a 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.login-btn:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .main-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .welcome-section {
        padding: 40px 30px;
        min-height: 400px;
    }

    .school-name {
        font-size: 22px;
    }

    .welcome-title {
        font-size: 36px;
    }

    .login-section {
        padding: 40px 30px;
    }

    .login-title {
        font-size: 28px;
        margin-bottom: 35px;
    }
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 20px;
    }

    .welcome-section {
        padding: 30px 20px;
        min-height: 300px;
    }

    .school-name {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .welcome-title {
        font-size: 32px;
    }

    .shape {
        display: none;
    }

    .shape-1,
    .shape-2 {
        display: block;
    }

    .login-section {
        padding: 30px 20px;
    }

    .login-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .forgot-password {
        align-self: flex-end;
    }
}
