﻿.content-page {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content-toolbar {
    position: sticky;
    top: 0;
    padding: 0px 5px 10px 0px;
}

.content-grid {
    flex: 1;
    overflow-y: auto;
}
/* ===============================
   GENEL LAYOUT YAPISI
=============================== */
.login-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
    min-height: 600px;
}

/* Ortak Sol Panel */
.login-left {
    flex: 1.3;
    background: radial-gradient(circle at top left, #1e1e2f, #0f0f1a);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 40px;
    box-sizing: border-box;
}

    .login-left::before {
        content: "";
        position: absolute;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(0,191,166,0.3), transparent 70%);
        top: -50px;
        left: -50px;
        filter: blur(80px);
        z-index: 0;
    }

    .login-left::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(127,0,255,0.3), transparent 70%);
        bottom: -60px;
        right: -60px;
        filter: blur(80px);
        z-index: 0;
    }

#bgCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.weather-widget {
    position: absolute;
    top: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    color: #fff;
    cursor: default;
    box-shadow: 0 0 20px rgba(127,0,255,0.4), 0 0 40px rgba(0,191,166,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeSlideUp 0.8s ease-out;
}

    .weather-widget:hover {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(127,0,255,0.6), 0 0 50px rgba(0,191,166,0.5);
    }

.weather-icon {
    font-size: 42px; /* büyük ikon */
    animation: pulseGlow 2s infinite alternate;
}

.weather-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

    .weather-info .temp {
        font-weight: 700;
        font-size: 24px;
        background: linear-gradient(90deg, #00BFA6, #7F00FF);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .weather-info .city {
        font-size: 14px;
        opacity: 0.9;
    }



.login-brand {
    text-align: center;
    position: relative;
    z-index: 1;
}

.login-title {
    font-size: 100px;
    line-height: 1.1;
    padding-bottom: 8px; /* ya da padding-top */
    margin: 0;
    background: linear-gradient(90deg, #00BFA6, #7F00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeSlideUp 0.5s ease-out 0.2s forwards;
}

.login-tagline {
    font-size: 18px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    opacity: 0;
    animation: fadeSlideUp 0.5s ease-out 1.2s forwards;
}

/* Ortak Sağ Panel */
.login-right {
    flex: 0.7;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    position: relative;
    flex-direction: column;
}

/* ===============================
   ORTAK KART YAPISI
=============================== */
.login-card {
    width: 100%;
    max-width: 550px;
    padding: 32px;
    animation: fadeSlideUp 0.6s ease-out;
    box-sizing: border-box;
}

.wizard-intro {
    text-align: center;
    padding: 20px;
    animation: fadeSlideUp 0.8s ease-out;
}

.wizard-title {
    font-size: 28px;
    font-weight: 700;
    -webkit-background-clip: text;
    margin-bottom: 12px;
}

.wizard-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
}

.wizard-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
    display: inline-block;
}

    .wizard-steps li {
        font-size: 15px;
        padding: 8px 0;
        position: relative;
        padding-left: 24px;
    }

        .wizard-steps li::before {
            content: "✔";
            position: absolute;
            left: 0;
            font-weight: bold;
        }

.setup-actions {
    display: flex;
    justify-content: space-between; /* 🔥 köşelere dağıtır */
    align-items: center;
    margin-top: 15px;
    padding: 0 5px;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===============================
   LOGIN SPESİFİK
=============================== */
.login-box {
    text-align: center;
    max-width: 380px;
}

    .login-box h2 {
        margin-bottom: 8px;
        font-size: 26px;
        background: linear-gradient(90deg, #00BFA6, #7F00FF);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 700;
    }

    .login-box p {
        margin-bottom: 24px;
        font-size: 14px;
        color: #666;
    }

.remember-me {
    display: flex;
    align-items: center;
    margin: 8px 0 16px 10px;
    font-size: 13px;
}

.forgot-password {
    margin-top: 12px;
    text-align: right;
}

    .forgot-password a {
        font-size: 13px;
        text-decoration: none;
        transition: all 0.25s ease;
    }

        .forgot-password a:hover {
            color: #7F00FF;
            text-decoration: underline;
        }

/* ===============================
   FOOTER
=============================== */
.login-footer {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 12px;
    width: 100%;
    max-width: 360px;
    opacity: 0.50;
}

    .login-footer .links {
        margin-top: 4px;
        display: flex;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }

        .login-footer .links a {
            text-decoration: none;
            transition: color 0.2s;
        }

            .login-footer .links a:hover {
                color: #7F00FF;
            }

/* ===============================
   ANİMASYON
=============================== */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    from {
        text-shadow: 0 0 10px #00BFA6, 0 0 20px #7F00FF;
    }

    to {
        text-shadow: 0 0 20px #7F00FF, 0 0 40px #00BFA6;
    }
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 768px) {
    .login-layout {
        flex-direction: column;
    }

    .login-left {
        min-height: 130px;
        max-height: 130px;
        padding: 20px 20px;
        justify-content: center;
    }

    .weather-widget {
        display: none;
    }

    .login-title {
        font-size: 42px;
    }

    .login-tagline {
        font-size: 14px;
    }

    .login-right {
        flex: unset;
        width: 100%;
        min-height: 50vh;
        min-width: 300px;
        padding: 10px;
        justify-content: flex-start;
        align-items: center;
    }

    .login-card {
        max-width: 100%;
        padding: 20px;
    }

    .login-footer {
        position: static;
        margin-top: auto;
        transform: none;
        width: 100%;
        padding-top: 20px;
        text-align: center;
    }
}
