/* Modern Login Page Styles */
:root {
    --primary-color: #667eea;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-color: #f093fb;
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-color: #4facfe;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--primary-gradient);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Bootstrap compatibility - keep defaults, avoid overrides that cause layout issues */

/* Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cg fill='%23ffffff' fill-opacity='0.03'%3e%3cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e") repeat;
    animation: backgroundMove 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Floating shapes */
.floating-shapes {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    top: 15%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    border-radius: 50%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    bottom: 20%;
    right: 25%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    border-radius: 50%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    top: 50%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(255,255,255,0.25), rgba(255,255,255,0.1));
    border-radius: 50%;
    animation-delay: 4s;
}

/* Additional shapes for more movement */
.shape:nth-child(4) {
    top: 70%;
    left: 5%;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 50%;
    animation-delay: 1s;
}

.shape:nth-child(5) {
    top: 30%;
    left: 10%;
    width: 90px;
    height: 90px;
    background: linear-gradient(45deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border-radius: 50%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Main Container */
.login-container {
    min-height: 100vh;
    height: 100vh;
    padding: 0;
    margin: 0;
    background: var(--white);
    overflow: hidden;
}

/* Left Panel - Login Form */
.login-panel {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    position: relative;
    min-height: 100vh;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-family: 'Segoe UI', sans-serif;
    font-size: 32px;
    font-weight: 300;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    letter-spacing: 2px;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.login-title {
    color: var(--text-dark);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--text-light);
    font-size: 16px;
}

/* Form Styles */
.login-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    color: var(--text-dark);
    background: #f8fafc;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Floating label kullanmıyoruz */
.form-label { display: block; margin-bottom: 6px; color: var(--text-dark); font-weight: 500; }


/* Remember Me Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.custom-checkbox {
    position: relative;
    display: inline-block;
    margin-right: 12px;
}

.custom-checkbox input {
    opacity: 0;
    position: absolute;
}

.custom-checkbox .checkmark {
    width: 20px;
    height: 20px;
    background: #e2e8f0;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-checkbox input:checked + .checkmark {
    background: var(--primary-gradient);
}

.custom-checkbox .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-checkbox input:checked + .checkmark::after {
    opacity: 1;
}

.checkbox-label {
    color: var(--text-light);
    font-size: 14px;
    cursor: pointer;
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 16px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Error Messages */
.text-danger {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Right Panel - Info Panel */
.info-panel {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

/* Info panel responsive adjustments */
.info-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.info-panel::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.2; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.info-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.company-logo {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.company-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    opacity: 0.8;
}

/* Copyright */
.copyright {
    text-align: center;
    margin-top: 10px;
    opacity: 0.7;
    font-size: 14px;
}

/* Bootstrap Compatible Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
    .login-panel {
        padding: 30px 20px;
        min-height: 100vh;
    }
    
    .login-title {
        font-size: 24px;
    }
    
    .logo {
        font-size: 28px;
        letter-spacing: 1px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 767.98px) {
    .login-panel { padding: 40px 30px; }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 991.98px) {
    .info-panel { padding: 25px 20px; }
    
    .company-title {
        font-size: 20px;
    }
    
    .hero-slogan-text {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .services-section {
        margin-bottom: 20px;
    }
    
    .contact-section {
        margin-top: 15px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1199.98px) {
    .info-panel { padding: 30px 25px; }
    
    .hero-slogan-text {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .services-grid {
        gap: 6px;
    }
    
    .service-item {
        padding: 8px 12px;
        min-width: 100px;
        font-size: 11px;
    }
}

/* Loading Animation */
.btn-login.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-login.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Special Slogan Section */
.hero-slogan {
    text-align: center;
    margin: 30px 0;
    padding: 0;
    position: relative;
}

.hero-slogan-text {
    font-size: 40px;
    font-weight: 300;
    color: #ffd700;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.3),
        0 2px 20px rgba(255, 215, 0, 0.2);
    letter-spacing: 3px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.hero-slogan-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: sloganGlow 4s ease-in-out infinite alternate;
    z-index: -1;
}

.hero-slogan-text::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    border-radius: 2px;
    animation: underlineGlow 3s ease-in-out infinite;
}

@keyframes sloganGlow {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

@keyframes underlineGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Complex float animations for shapes */
.shape:nth-child(1) {
    animation: floatComplex1 8s ease-in-out infinite;
}

.shape:nth-child(2) {
    animation: floatComplex2 10s ease-in-out infinite;
}

.shape:nth-child(3) {
    animation: floatComplex3 12s ease-in-out infinite;
}

.shape:nth-child(4) {
    animation: floatComplex4 6s ease-in-out infinite;
}

.shape:nth-child(5) {
    animation: floatComplex5 14s ease-in-out infinite;
}

@keyframes floatComplex1 {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    25% { transform: translateY(-30px) rotate(90deg) scale(1.1); }
    50% { transform: translateY(-10px) rotate(180deg) scale(0.9); }
    75% { transform: translateY(-20px) rotate(270deg) scale(1.05); }
}

@keyframes floatComplex2 {
    0%, 100% { transform: translateX(0px) translateY(0px) rotate(0deg); }
    33% { transform: translateX(15px) translateY(-25px) rotate(120deg); }
    66% { transform: translateX(-10px) translateY(15px) rotate(240deg); }
}

@keyframes floatComplex3 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg) scale(1); }
    50% { transform: translate(-25px, -35px) rotate(180deg) scale(1.2); }
}

@keyframes floatComplex4 {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.1; }
    25% { transform: translateY(-15px) scale(1.3); opacity: 0.2; }
    50% { transform: translateY(10px) scale(0.8); opacity: 0.05; }
    75% { transform: translateY(-5px) scale(1.1); opacity: 0.15; }
}

@keyframes floatComplex5 {
    0%, 100% { transform: rotate(0deg) translateX(0px) translateY(0px); }
    20% { transform: rotate(72deg) translateX(10px) translateY(-15px); }
    40% { transform: rotate(144deg) translateX(-5px) translateY(-25px); }
    60% { transform: rotate(216deg) translateX(-15px) translateY(10px); }
    80% { transform: rotate(288deg) translateX(5px) translateY(20px); }
}

/* Additional decorative elements */
.info-panel .decorative-circle1 {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.info-panel .decorative-circle2 {
    position: absolute;
    bottom: 15%;
    right: 20%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
    z-index: 0;
}

.info-panel .decorative-triangle {
    position: absolute;
    top: 25%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid rgba(255,255,255,0.06);
    animation: triangleFloat 12s ease-in-out infinite;
    z-index: 0;
}

.info-panel .decorative-diamond {
    position: absolute;
    top: 60%;
    left: 8%;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    transform: rotate(45deg);
    animation: diamondSpin 15s linear infinite;
    z-index: 0;
}

.info-panel .decorative-hexagon {
    position: absolute;
    bottom: 30%;
    left: 15%;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
    animation: hexagonPulse 8s ease-in-out infinite;
    z-index: 0;
}

.info-panel .decorative-star {
    position: absolute;
    top: 5%;
    left: 20%;
    width: 25px;
    height: 25px;
    background: rgba(255,255,255,0.1);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: starTwinkle 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes triangleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

@keyframes diamondSpin {
    0% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(225deg) scale(1.2); }
    100% { transform: rotate(405deg) scale(1); }
}

@keyframes hexagonPulse {
    0%, 100% { opacity: 0.05; transform: scale(1); }
    50% { opacity: 0.15; transform: scale(1.3); }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.1; transform: scale(1) rotate(0deg); }
    25% { opacity: 0.3; transform: scale(1.2) rotate(90deg); }
    50% { opacity: 0.1; transform: scale(0.8) rotate(180deg); }
    75% { opacity: 0.25; transform: scale(1.1) rotate(270deg); }
}

/* Company header and content styles */
.company-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    position: relative;
}

.company-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
}

.company-subtitle {
    font-size: 14px;
    text-align: center;
    opacity: 0.7;
    font-style: italic;
}

.services-section {
    margin-bottom: 25px;
}

.services-title {
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 15px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 0;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    font-size: 12px;
    font-weight: 400;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
    white-space: nowrap;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.service-item .service-emoji {
    font-size: 16px;
    margin-right: 8px;
    filter: brightness(1.2);
}

.service-item .service-text {
    font-size: 11px;
    line-height: 1.2;
    opacity: 0.95;
}

.contact-section {
    margin-top: 20px;
}

.contact-title {
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 12px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px 18px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.contact-grid {
    display: grid;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    opacity: 0.9;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.95;
    font-weight: 300;
}

.contact-text strong {
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
}