/* Template Tabanlı Modern Tasarım */
/* Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --brand: #10b981;
    --brand-dark: #059669;
    --brand-light: #d1fae5;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --teal-600: #0d9488;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius-lg: 0.5rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--stone-100);
    color: var(--stone-800);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Login Screen */
.login-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--stone-100);
}

/* Header */
.login-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--stone-200);
}

.login-header-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.login-brand-icon {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: var(--radius-xl);
    display: grid;
    place-items: center;
    background: var(--emerald-100);
    color: var(--emerald-600);
    font-size: 1.25rem;
}

.login-brand-logo {
    display: flex;
    align-items: center;
    height: auto;
}

.app-logo-header {
    max-height: 60px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.login-brand-text {
    display: flex;
    flex-direction: column;
    margin-left: 1.5rem;
}

.login-brand-subtitle-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.login-brand-icon-small {
    font-size: 1rem;
    color: var(--emerald-600);
    flex-shrink: 0;
}

.login-brand-subtitle {
    font-size: 0.875rem;
    color: var(--stone-500);
    line-height: 1;
}

.login-brand-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--stone-800);
    line-height: 1;
}

/* Main Content */
.login-main {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 2.5rem 1rem;
}

.login-container {
    width: 100%;
    max-width: 1024px;
}

.login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

/* Visual Panel (Sol Taraf) */
.login-visual-panel {
    display: none;
}

@media (min-width: 768px) {
    .login-visual-panel {
        display: flex;
    }
}

.visual-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: linear-gradient(to bottom right, var(--emerald-500), var(--teal-600));
    color: var(--white);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.visual-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.visual-card h2 i {
    margin-right: 0.5rem;
}

.visual-card p {
    color: var(--emerald-50);
    margin-bottom: 1.5rem;
}

.visual-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.visual-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.visual-card ul li i {
    margin-top: 0.25rem;
}

/* Login Card (Sağ Taraf) */
.login-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--stone-200);
    overflow: hidden;
}

.login-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--stone-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-card-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.login-card-icon {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: var(--radius-xl);
    display: grid;
    place-items: center;
    background: var(--emerald-100);
    color: var(--emerald-600);
    font-size: 1.25rem;
}

.login-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--stone-800);
}

.login-card-subtitle {
    font-size: 0.875rem;
    color: var(--stone-500);
}

.login-card-body {
    padding: 1.5rem;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-700);
    margin-bottom: 0.25rem;
}

.form-control {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--stone-300);
    background: var(--stone-50);
    padding: 0.75rem 1rem;
    padding-right: 2.5rem;
    font-size: 0.875rem;
    color: var(--stone-800);
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    background: var(--white);
}

.form-control::placeholder {
    color: var(--stone-400);
}

.form-input-wrapper {
    position: relative;
}

.form-input-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--stone-400);
    pointer-events: none;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--stone-400);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--stone-600);
}

.form-checkbox-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--stone-600);
}

.form-checkbox {
    border-radius: 0.25rem;
    border: 1px solid var(--stone-300);
    accent-color: var(--emerald-600);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--emerald-600);
    color: var(--white);
    width: 100%;
}

.btn-primary:hover {
    background: var(--emerald-700);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-link {
    font-size: 0.875rem;
    color: var(--emerald-600);
    text-decoration: none;
}

.form-link:hover {
    text-decoration: underline;
}

/* Alert */
.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Button Icon */
.btn-icon {
    background: transparent;
    border: none;
    color: var(--emerald-600);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background-color: var(--emerald-100);
    color: var(--emerald-700);
}

/* Company Info in Visual Panel */
.company-info-visual {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.company-logo-visual {
    max-width: 80%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto 1rem auto;
    display: block;
}

.company-name-visual {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.company-contact-visual {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.company-contact-visual a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-contact-visual a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 767px) {
    .login-grid {
        grid-template-columns: 1fr;
    }
    
    .login-card-body {
        padding: 1.25rem;
    }
    
    .app-logo-header {
        max-height: 45px;
        max-width: 150px;
    }
    
    .login-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Fade Animations */
.fade-enter {
    opacity: 0;
    transform: translateY(8px);
}

.fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.25s ease;
}

.fade-leave {
    opacity: 1;
    transform: translateY(0);
}

.fade-leave-active {
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.2s ease;
}

