/* Tema değişkenleri */
:root[data-theme="light"] {
    --background-color: #fff7ed;
    --text-color: #333333;
    --card-background: #ffffff;
    --border-color: #e5e7eb;
    --header-background: #ffffff;
    --filter-background: #ffffff;
    --input-background: #ffffff;
    --input-text: #333333;
    --primary-color: #f97316;
    --secondary-text: #666666;
    --search-background: #ffffff;
    --campaign-card-bg: #ffffff;
    --food-card-bg: #ffffff;
    --restaurant-card-bg: #ffffff;
    --suggestion-bg: #ffffff;
    --suggestion-hover: #f3f4f6;
}

:root[data-theme="dark"] {
    --background-color: #121212;
    --text-color: #ffffff;
    --card-background: #1e1e1e;
    --border-color: #2d2d2d;
    --header-background: #1e1e1e;
    --filter-background: #1e1e1e;
    --input-background: #2d2d2d;
    --input-text: #ffffff;
    --primary-color: #f97316;
    --secondary-text: #9ca3af;
    --search-background: #2d2d2d;
    --campaign-card-bg: #1e1e1e;
    --food-card-bg: #1e1e1e;
    --restaurant-card-bg: #1e1e1e;
    --suggestion-bg: #1e1e1e;
    --suggestion-hover: #2d2d2d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}

.no-transitions,
.no-transitions * {
    transition: none !important;
}

[data-theme] {
    color-scheme: light dark;
}

/* Main Layout Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: var(--background-color);
    color: var(--text-color);
}

.main-container {
    min-height: calc(100vh - 150px);
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
}

/* Logo Section Styles */
.logo-container {
    margin-top: 2rem;
    position: relative;
    z-index: 1001;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
}

.logo img {
    width: 80px;
    height: 80px;
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.logo span {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
}

/* Form Container Styles */
.form-container {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.auth-box {
    max-width: 400px;
    width: 100%;
    background-color: var(--card-background);
    border: 3px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
}

/* Form Elements */
.form-group {
    margin-bottom: 1rem;
    width: 95%;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    background-color: var(--input-background);
    color: var(--input-text);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    transition: border-color 0.2s;
    border-radius: 4px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary-text);
    padding: 0;
    display: flex;
    align-items: center;
}

.toggle-password:hover {
    color: var(--text-color);
}

/* Form Options Stili */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 8px;
    gap: 100px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-color: white;
    border: 1px solid #d1d5db;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkbox-container input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-container input[type="checkbox"]:checked::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: white;
    position: absolute;
}

.checkbox-text {
    color: var(--text-color);
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 16px;
    max-width: 200px;
    height: 50px
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-block {
    width: 100%;
}

/* Alert Styles */
.alert {
    padding: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-error {
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.alert-success {
    background-color: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

/* Auth Footer Styles */
.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--secondary-text);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 0.5rem;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styles */
.header {
    background-color: transparent;
    padding: 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.theme-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1010;
    padding: 8px;
    border-radius: 50%;
    border: 2px solid #f97316;
    background-color: var(--header-background);
    color: #f97316;
}

.theme-switch:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .theme-switch:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-switch i {
    width: 20px;
    height: 20px;
    color: var(--text-color);
}

/* Footer Styles */
.contact-section {
    background-color: var(--primary-color);
    padding: 1rem 0;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.contact-section .container {
    margin-top: 0;
    padding: 0.5rem;
    color: white;
}

.contact-section .container > div {
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer Link Styles */
.contact-section a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
}

.contact-section div[style*="cursor: not-allowed"] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    cursor: not-allowed;
}

/* Footer Icons */
.contact-section i {
    width: 24px;
    height: 24px;
    color: white;
}
