/* VENOM CPID Web - Main Stylesheet */

:root {
    --primary-bg: #0f172a;
    --secondary-bg: #1e293b;
    --card-bg: #334155;
    --accent-color: #4ecdc4;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: #475569;
    --hover-bg: #475569;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #1a202c 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #1a202c 100%);
}

.bg-animated::before {
    display: none;
}

@keyframes float {
    /* Remove animation */
}

/* Cards */
.card {
    background: rgba(51, 65, 85, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    transform: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: rgba(30, 41, 59, 0.8);
    border-bottom: 1px solid var(--border-color);
    border-radius: 16px 16px 0 0 !important;
    padding: 1.5rem;
}

.card-body {
    padding: 2rem;
}

/* Login specific styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-card {
    max-width: 450px;
    width: 100%;
    background: rgba(51, 65, 85, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #22d3ee, var(--success-color));
}

.login-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: rgba(15, 23, 42, 0.8);
    position: relative;
}

.login-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #22d3ee);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.login-logo i {
    font-size: 2.5rem;
    color: white;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

.login-body {
    padding: 2rem;
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #22d3ee);
    color: white;
}

.btn-primary:hover {
    transform: none;
    box-shadow: 0 5px 10px rgba(78, 205, 196, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
}

.btn-success:hover {
    transform: none;
    box-shadow: 0 5px 10px rgba(16, 185, 129, 0.2);
}

.btn-danger {
    background: linear-gradient(135deg, var(--error-color), #dc2626);
    color: white;
}

.btn-danger:hover {
    transform: none;
    box-shadow: 0 5px 10px rgba(239, 68, 68, 0.2);
}

.btn-secondary {
    background: rgba(71, 85, 105, 0.8);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    transform: none;
}

/* Form controls */
.form-control, .form-select {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.25);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-floating .form-control {
    height: 60px;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating label {
    color: var(--text-secondary);
    padding: 1rem 0.75rem;
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
    color: var(--accent-color);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--accent-color);
}

.login-btn {
    width: 100%;
    height: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-color), #22d3ee);
    border: none;
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: none;
    box-shadow: 0 8px 15px rgba(78, 205, 196, 0.3);
}

.login-btn:disabled {
    background: rgba(71, 85, 105, 0.8);
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

/* Labels */
.form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: block !important;
}

.navbar.show {
    display: block !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color) !important;
    text-decoration: none;
}

.navbar-brand:hover {
    color: #22d3ee !important;
}

.nav-link {
    color: var(--text-secondary) !important;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    z-index: 1000;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(78, 205, 196, 0.3);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-footer {
    text-align: center;
    padding: 1.5rem 2rem 2rem;
    background: rgba(15, 23, 42, 0.5);
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.login-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.login-footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #22d3ee;
}

/* Login footer responsive */
@media (max-width: 768px) {
    .login-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .login-footer p {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 480px) {
    .login-footer {
        padding: 0.75rem 1rem 1rem;
    }
    
    .login-footer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .login-footer p:first-child {
        margin-bottom: 0.5rem;
    }
}

/* Dashboard styles */
.dashboard-container {
    padding: 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 80px; /* Fixed navbar için boşluk */
}

.dashboard-container.hide {
    display: none;
}

.welcome-card {
    background: linear-gradient(135deg, var(--accent-color), #22d3ee);
    border: none;
    border-radius: 16px;
    color: white;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.welcome-content {
    position: relative;
    z-index: 2;
}

.user-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.user-avatar i {
    font-size: 1.5rem;
    color: white;
}

.section-card {
    background: rgba(51, 65, 85, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.section-card:hover {
    transform: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-header {
    background: rgba(30, 41, 59, 0.8);
    border-bottom: 1px solid var(--border-color);
    border-radius: 16px 16px 0 0;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 0.75rem;
    color: var(--accent-color);
}

.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(30, 41, 59, 0.3);
}

.file-upload-area:hover {
    border-color: var(--accent-color);
    background: rgba(78, 205, 196, 0.1);
}

.file-upload-area.dragover {
    transform: none;
}

.upload-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.data-field {
    margin-bottom: 1.5rem;
}

.data-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.data-label i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.data-value {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    position: relative;
}

.copy-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    color: var(--accent-color);
    background: rgba(78, 205, 196, 0.1);
}

.imei-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.imei-input {
    flex: 1;
}

.luhn-digit {
    width: 50px;
    height: 38px;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1rem;
}

.generate-btn {
    width: 100%;
    height: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--success-color), #059669);
    border: none;
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.generate-btn:hover:not(:disabled) {
    transform: none;
    box-shadow: 0 8px 15px rgba(16, 185, 129, 0.3);
}

.generate-btn:disabled {
    background: rgba(71, 85, 105, 0.8);
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.log-terminal {
    background: #000000;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    height: 300px;
    overflow-y: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #00ff41;
}

.log-entry {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.log-timestamp {
    color: #888;
    margin-right: 0.5rem;
}

.history-table {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    overflow: hidden;
}

.history-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.history-item:hover {
    background: rgba(71, 85, 105, 0.5);
}

.history-item:last-child {
    border-bottom: none;
}

.history-filename {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.history-details {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-btn {
    background: var(--accent-color);
    border: none;
    border-radius: 6px;
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: none;
}

.progress-container {
    margin-top: 1rem;
    display: none;
}

.progress {
    height: 8px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent-color), #22d3ee);
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
    animation: pulse 2s infinite;
}

.status-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.status-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success-color);
}

.status-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error-color);
}

.status-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning-color);
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem 0;
    }
    
    .file-upload-area {
        padding: 2rem 1rem;
    }
    
    .upload-icon {
        font-size: 2rem;
    }
    
    .imei-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .luhn-digit {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Hide/Show sections */
.login-section {
    display: block;
}

.dashboard-section {
    display: block;
    min-height: 100vh;
    padding-top: 80px; /* Navbar için boşluk */
}

.dashboard-section.show {
    display: block !important;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    padding: 4px;
    margin: 0 2rem 1rem;
    border: 1px solid var(--border-color);
    flex-wrap: nowrap;
    min-height: 50px;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tab-btn.active {
    background: var(--accent-color);
    color: white;
    font-weight: 600;
}

.tab-btn:hover:not(.active) {
    background: rgba(71, 85, 105, 0.5);
    color: var(--text-primary);
}

/* Mobile responsive için tab navigation */
@media (max-width: 576px) {
    .tab-navigation {
        margin: 0 1rem 1rem;
        padding: 3px;
    }
    
    .tab-btn {
        padding: 0.6rem 0.5rem;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    .tab-btn i {
        margin-right: 0.25rem !important;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 400px) {
    .tab-navigation {
        margin: 0 0.5rem 1rem;
        padding: 2px;
    }
    
    .tab-btn {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .tab-btn i {
        display: none;
    }
}

/* Auth Forms */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

/* Register Button */
.register-btn {
    width: 100%;
    height: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--success-color), #059669);
    border: none;
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.register-btn:hover {
    background: linear-gradient(135deg, #059669, var(--success-color));
    box-shadow: 0 8px 15px rgba(16, 185, 129, 0.3);
}

.register-btn:disabled {
    background: rgba(71, 85, 105, 0.8);
    box-shadow: none;
    cursor: not-allowed;
}

.register-info {
    margin-top: 1rem;
    text-align: center;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
}

.register-info small {
    color: var(--text-secondary);
}

/* File History Styles */
.file-history {
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.file-history::-webkit-scrollbar {
    width: 6px;
}

.file-history::-webkit-scrollbar-track {
    background: rgba(71, 85, 105, 0.3);
    border-radius: 3px;
}

.file-history::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.history-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.history-item:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.history-filename {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    flex: 1;
    margin-right: 1rem;
    word-break: break-all;
}

.history-filename i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.history-actions {
    display: flex;
    gap: 0.5rem;
}

.history-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    min-width: auto;
}

.history-details {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.history-details i {
    color: var(--accent-color);
    width: 12px;
    text-align: center;
}

/* Empty history state */
.file-history .text-muted {
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

.file-history .text-muted i {
    font-size: 2rem;
    color: var(--border-color);
    margin-bottom: 0.5rem;
    display: block;
}

/* Section header with action button */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
    background: rgba(30, 41, 59, 0.8);
    border-bottom: 1px solid var(--border-color);
    border-radius: 16px 16px 0 0;
}

.section-header .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Mobile responsive for history */
@media (max-width: 768px) {
    .history-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .history-filename {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .history-actions {
        align-self: flex-end;
    }
    
    .file-history {
        max-height: 300px;
    }
}

/* Brand Logo Styles */
.brand-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), #22d3ee);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.brand-logo i {
    font-size: 1.5rem;
    color: white;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-version {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Session Timer Styles */
.session-indicator {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
}

.session-indicator i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

#sessionTimer {
    color: var(--success-color);
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

/* User Profile Styles */
.user-profile {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

.user-profile:hover {
    background: rgba(51, 65, 85, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-color), #22d3ee);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.user-avatar-small i {
    font-size: 1rem;
    color: white;
}

.user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex: 1;
}

.username {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.license-info {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* User Dropdown Styles */
.user-dropdown {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 280px;
    padding: 0.5rem 0;
}

.user-dropdown .dropdown-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
}

.user-details {
    display: flex;
    align-items: center;
}

.user-avatar-large {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-color), #22d3ee);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.user-avatar-large i {
    font-size: 1.5rem;
    color: white;
}

.user-dropdown .dropdown-item {
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.user-dropdown .dropdown-item:hover {
    background: rgba(51, 65, 85, 0.8);
    color: var(--text-primary);
}

.user-dropdown .dropdown-item.text-danger {
    color: var(--error-color) !important;
}

.user-dropdown .dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color) !important;
}

.user-dropdown .dropdown-divider {
    border-color: var(--border-color);
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .session-indicator {
        display: none;
    }
    
    .user-profile {
        min-width: auto;
        padding: 0.5rem 0.75rem;
    }
    
    .user-info {
        display: none;
    }
    
    .brand-text {
        display: none;
    }
    
    .user-dropdown {
        min-width: 250px;
    }
}

@media (max-width: 576px) {
    .navbar .container {
        padding: 0 1rem;
    }
    
    .brand-logo {
        width: 32px;
        height: 32px;
    }
    
    .brand-logo i {
        font-size: 1.25rem;
    }
    
    .user-avatar-small {
        width: 28px;
        height: 28px;
    }
    
    .user-avatar-small i {
        font-size: 0.875rem;
    }
}

/* Login card responsive tasarım */
@media (max-width: 768px) {
    .login-container {
        padding: 1rem 0.5rem;
    }
    
    .login-card {
        max-width: 100%;
        margin: 0 0.5rem;
        border-radius: 16px;
    }
    
    .login-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .login-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .login-logo i {
        font-size: 2rem;
    }
    
    .login-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 0.5rem 0.25rem;
        min-height: 100vh;
        display: flex;
        align-items: stretch;
    }
    
    .login-card {
        margin: 0.25rem;
        border-radius: 12px;
        min-height: calc(100vh - 0.5rem);
        display: flex;
        flex-direction: column;
    }
    
    .login-header {
        padding: 1.5rem 1rem 1rem;
        flex-shrink: 0;
    }
    
    .login-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }
    
    .login-logo i {
        font-size: 1.5rem;
    }
    
    .login-body {
        padding: 1rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .auth-form {
        flex: 1;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
    }
    
    .auth-form:not(.active) {
        display: none !important;
    }
}

/* Form controls responsive */
@media (max-width: 768px) {
    .form-floating {
        margin-bottom: 1.25rem; /* Daha az boşluk */
    }
    
    .form-floating .form-control {
        height: 55px; /* Daha küçük yükseklik */
        font-size: 0.9rem; /* Daha küçük font */
    }
    
    .form-floating label {
        font-size: 0.9rem;
        padding: 0.875rem 0.75rem;
    }
    
    .login-btn, .register-btn {
        height: 45px; /* Daha küçük buton yüksekliği */
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .form-floating {
        margin-bottom: 1rem;
    }
    
    .form-floating .form-control {
        height: 50px;
        font-size: 0.85rem;
        padding: 1.5rem 0.75rem 0.5rem;
    }
    
    .form-floating label {
        font-size: 0.85rem;
        padding: 0.75rem 0.75rem;
    }
    
    .login-btn, .register-btn {
        height: 42px;
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
    
    .password-toggle {
        right: 12px; /* Daha yakın konumlandır */
        font-size: 0.9rem;
    }
    
    .alert {
        font-size: 0.85rem; /* Daha küçük alert metni */
        padding: 0.75rem;
    }
    
    .register-info {
        padding: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .register-info small {
        font-size: 0.75rem;
    }
} 