﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #f1f5f9 100%);
    overflow-x: hidden;
    position: relative;
}

/* Background Animations */
.background-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-repeat: no-repeat;
}

.bg-gradient-1 {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08), transparent 70%);
}

.bg-gradient-2 {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.12), transparent 50%);
    transition: all 0.3s ease;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float 3s ease-in-out infinite;
}

.particle-blue {
    background-color: rgba(59, 130, 246, 0.3);
}

.particle-slate {
    background-color: rgba(100, 116, 139, 0.3);
}

.particle-light-blue {
    background-color: rgba(147, 197, 253, 0.3);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
    }
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.content-wrapper {
    width: 100%;
    max-width: 112rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

/* Left Side - Branding */
.branding-section {
    display: none;
    text-align: center;
    margin-left: 120px;
}

@media (min-width: 1024px) {
    .branding-section {
        display: block;
        text-align: left;
    }
}

.logo-container {
    margin-bottom: 2rem;
}

.logo {
    width: 350px;
    height: auto;
    max-width: 100%;
}

.hero-text-container {
    margin-bottom: 2rem;
}

.hero-text {
    height: 5rem;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    background: linear-gradient(to right, #475569, #2563eb, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 32rem;
    line-height: 1.6;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

    .hero-subtitle .brand-highlight {
        background: linear-gradient(to right, #2269b3, #1a4d8a);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 600;
        display: inline;
    }

/* Aşağıdaki kısmı ekleyin */
.form-input:invalid {
    box-shadow: none; /* Tarayıcının kırmızı gölgesini kaldır */
}

.form-input.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 32rem;
    margin: 2rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out forwards;
}

    .feature-card:nth-child(1) {
        animation-delay: 0.4s;
    }

    .feature-card:nth-child(2) {
        animation-delay: 0.6s;
    }

    .feature-card:nth-child(3) {
        animation-delay: 0.8s;
    }

    .feature-card:nth-child(4) {
        animation-delay: 1s;
    }

    .feature-card:hover {
        transform: translateY(-2px) scale(1.05);
        background: rgba(255, 255, 255, 0.8);
        border-color: #93c5fd;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    width: 2rem;
    height: 2rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    margin-top:-10px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.feature-desc {
    font-size: 0.75rem;
    color: #64748b;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-desc {
    color: #2563eb;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .stats-container {
        justify-content: flex-start;
    }
}

.stat-item {
    transition: transform 0.3s ease;
}

    .stat-item:hover {
        transform: scale(1.1);
    }

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* Login Form */
.form-container {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.form-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.form-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6rem;
    background: linear-gradient(135deg, #f0f9ff, #f1f5f9);
}

.form-content {
    position: relative;
    padding: 2rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: #2563eb;
    border-radius: 50%;
    margin-bottom: 1rem;
}

    .form-icon svg {
        width: 1.5rem;
        height: 1.5rem;
        color: white;
    }

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #64748b;
}

/* Tabs */
.tabs-container {
    margin-bottom: 2rem;
}

.tabs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.tab-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    border-radius: 0.375rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .tab-trigger.active {
        background: #2563eb;
        color: white;
    }

    .tab-trigger svg {
        width: 1rem;
        height: 1rem;
        margin-right: 0.5rem;
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

    .form-label svg {
        width: 1rem;
        height: 1rem;
        margin-right: 0.5rem;
    }

.form-input {
    width: 100%;
    height: 3rem;
    padding: 0 1rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

    .form-input:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

    .form-input::placeholder {
        color: #9ca3af;
    }

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

    .password-toggle:hover {
        background: #f3f4f6;
    }

    .password-toggle svg {
        width: 1rem;
        height: 1rem;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    color: #64748b;
    cursor: pointer;
}

    .checkbox-container input {
        margin-right: 0.5rem;
        border-radius: 0.25rem;
        border: 1px solid #d1d5db;
    }

.forgot-link {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .forgot-link:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

.terms-container {
    display: flex;
    align-items: flex-start;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

    .terms-container input {
        margin-right: 0.5rem;
        margin-top: 0.125rem;
        border-radius: 0.25rem;
        border: 1px solid #d1d5db;
    }

.terms-text {
    color: #64748b;
}

.terms-link {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .terms-link:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

/* Buttons */
.btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

    .btn-primary:hover:not(:disabled) {
        background: #2563eb;
        transform: scale(1.02);
    }

.btn-secondary {
    background: #374151;
    color: white;
    box-shadow: 0 4px 14px rgba(55, 65, 81, 0.3);
}

    .btn-secondary:hover:not(:disabled) {
        background: #1f2937;
        transform: scale(1.02);
    }

.btn svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

.loading-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer */
.form-footer {
    text-align: center;
    margin-top: 2rem;
    color: #64748b;
    font-size: 0.875rem;
}

    .form-footer p:first-child {
        margin-bottom: 0.25rem;
    }

    .form-footer p:last-child {
        font-size: 0.75rem;
        color: #9ca3af;
    }

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        max-width: 100%;
    }

    .form-content {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Error Messages */
.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

    .error-message.show {
        display: block;
    }

.form-input.error {
    border-color: #dc2626;
}

    .form-input.error:focus {
        border-color: #dc2626;
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    }


