* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a1929 0%, #1a2332 50%, #0f1623 100%);
    overflow: hidden;
}

.background-shapes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(26, 198, 138, 0.03) 49px, rgba(26, 198, 138, 0.03) 50px),
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(26, 198, 138, 0.03) 49px, rgba(26, 198, 138, 0.03) 50px);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Access Wave Animation - Bariyer Temalı */
.shape {
    position: absolute;
    opacity: 0.15;
}

.shape-1 {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1cc88a, transparent);
    top: 30%;
    left: -100%;
    animation: accessWave1 8s ease-in-out infinite;
}

.shape-2 {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4e73df, transparent);
    top: 50%;
    left: -100%;
    animation: accessWave2 10s ease-in-out infinite 2s;
}

.shape-3 {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1cc88a, transparent);
    top: 70%;
    left: -100%;
    animation: accessWave3 12s ease-in-out infinite 4s;
}

@keyframes accessWave1 {
    0%, 100% { left: -100%; opacity: 0; }
    10% { opacity: 0.15; }
    50% { left: 0%; opacity: 0.15; }
    90% { opacity: 0; }
    100% { left: 100%; opacity: 0; }
}

@keyframes accessWave2 {
    0%, 100% { left: -100%; opacity: 0; }
    10% { opacity: 0.2; }
    50% { left: 0%; opacity: 0.2; }
    90% { opacity: 0; }
    100% { left: 100%; opacity: 0; }
}

@keyframes accessWave3 {
    0%, 100% { left: -100%; opacity: 0; }
    10% { opacity: 0.15; }
    50% { left: 0%; opacity: 0.15; }
    90% { opacity: 0; }
    100% { left: 100%; opacity: 0; }
}

.login-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem 6rem;
    color: white;
    position: relative;
}

.branding-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.logo-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1cc88a 0%, #17a673 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    font-size: 2rem;
    color: white;
}

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.brand-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.brand-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #1cc88a, transparent);
    margin-top: 1rem;
}

.brand-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 500px;
}

.features-list {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
}

.feature-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #1cc88a 0%, #4e73df 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.login-footer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 2rem;
}

.login-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.3s;
}

.login-footer a:hover {
    color: #1cc88a;
}

.login-right {
    flex: 0 0 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
}

.login-box {
    background: rgba(30, 40, 60, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 460px;
}

.login-header {
    margin-bottom: 2rem;
}

.login-title {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.login-alert {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.875rem;
}

.form-label i {
    margin-right: 0.25rem;
    color: #1cc88a;
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem 3rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    color: white;
    transition: all 0.3s;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #1cc88a;
    box-shadow: 0 0 0 3px rgba(28, 200, 138, 0.15);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.125rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #1cc88a;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-password {
    color: #1cc88a;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #17a673;
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #1cc88a 0%, #17a673 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(28, 200, 138, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.login-register {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.login-register a {
    color: #1cc88a;
    text-decoration: none;
    transition: color 0.3s;
}

.login-register a:hover {
    color: #17a673;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.security-badge i {
    color: #1cc88a;
}

.version-info {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

@media (max-width: 1200px) {
    .login-left {
        padding: 3rem 4rem;
    }

    .brand-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .login-left {
        display: none;
    }

    .login-right {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .login-right {
        padding: 2rem 1rem;
    }

    .login-box {
        padding: 2rem 1.5rem;
    }

    .login-title {
        font-size: 1.5rem;
    }
}
