:root {
    --bg-dark: #0f0c29;       
    --neon-purple: #b92b27;   
    --neon-blue: #1565C0;    
    --text-main: #ffffff;   
    --text-muted: #a0a5b1;   
    --glass-bg: rgba(255, 255, 255, 0.05); 
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.background-shapes {
    position: fixed; 
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 4s infinite alternate;
}

.shape-1 {
    width: 300px; height: 300px;
    background: var(--neon-purple);
    top: 10%; left: 15%;
}
.shape-2 {
    width: 400px; height: 400px;
    background: var(--neon-blue);
    bottom: 10%; right: 10%;
    animation-delay: -2s;
}
.shape-3 {
    width: 250px; height: 250px;
    background: #00d2ff;
    top: 40%; left: 50%;
    animation-duration: 6s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-50px) scale(1.1); }
}

.login-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.glass-box {
    width: 100%;
    max-width: 400px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
}

.box-header {
    text-align: center;
    margin-bottom: 40px;
}

.card-logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
    margin-bottom: 15px; 
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); 
    display: inline-block;
}

.box-header h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1px;
}

.box-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 5px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-group {
    position: relative;
}

.icon {
    position: absolute;
    left: 15px;
    top: 12px;
    color: var(--text-muted);
    pointer-events: none;
    transition: 0.3s;
}

.input-group input {
    width: 100%;
    padding: 12px 45px;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2); 
    color: var(--text-main);
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-bottom-color: #00d2ff;
}
.input-group input:focus ~ .icon {
    color: #00d2ff;
}

.input-group label {
    position: absolute;
    left: 45px;
    top: 14px;
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
    top: -20px;
    left: 10px;
    font-size: 12px;
    color: #00d2ff;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
    user-select: none; 
}

.toggle-password:hover {
    color: #00d2ff;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-muted);
}

.forgot-pw {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.forgot-pw:hover {
    color: #00d2ff;
}

.glow-button {
    background: linear-gradient(45deg, var(--neon-blue), #00d2ff);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.glow-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.4);
}

.copyright-text {
    position: fixed;
    bottom: 24px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    z-index: 50;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.copyright-text:hover {
    opacity: 1;
}

.company-link {
    color: #00d2ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.company-link:hover {
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5); 
}

/* --- MOBİL UYUMLULUK (TELEFON EKRANLARI İÇİN DÜZELTMELER) --- */
@media (max-width: 768px) {
    
    body {
        justify-content: flex-start; 
        padding-top: 5vh;
    }

    .glass-box {
        padding: 30px 20px;
    }

    .box-header h2 {
        font-size: 26px;
    }

    .copyright-text {
        position: relative;
        bottom: auto;
        margin-top: 30px;
        margin-bottom: 20px;
    }
}