@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --bg-card: #ffffff;
    --bg-hover: #f8fafc;

    --accent-primary: #10b981;
    --accent-secondary: #059669;
    --accent-glow: rgba(16, 185, 129, 0.2);
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --border-color: rgba(15, 23, 42, 0.1);
    --border-hover: rgba(16, 185, 129, 0.3);

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.16);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0a0f0d;
        --bg-secondary: #111815;
        --bg-tertiary: #1a211d;
        --bg-card: #141b17;
        --bg-hover: #1e2621;

        --accent-glow: rgba(16, 185, 129, 0.4);

        --text-primary: #f0fdf4;
        --text-secondary: #94a3b8;
        --text-muted: #64748b;

        --border-color: rgba(16, 185, 129, 0.15);

        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
        --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.2);
    }
}

.theme-dark {
    --bg-primary: #0a0f0d;
    --bg-secondary: #111815;
    --bg-tertiary: #1a211d;
    --bg-card: #141b17;
    --bg-hover: #1e2621;

    --accent-glow: rgba(16, 185, 129, 0.4);

    --text-primary: #f0fdf4;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border-color: rgba(16, 185, 129, 0.15);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.2);
}

.theme-light {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --bg-card: #ffffff;
    --bg-hover: #f8fafc;

    --accent-glow: rgba(16, 185, 129, 0.2);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --border-color: rgba(15, 23, 42, 0.1);

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.16);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.btn-primary {
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    background: var(--accent-gradient);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    background: var(--bg-tertiary);
    border: 1.5px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    outline: none;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-secondary);
    background: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

.btn-danger {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    outline: none;
    cursor: pointer;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.btn-ghost {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    background: transparent;
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    outline: none;
    cursor: pointer;
}

.btn-ghost:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-warning {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    outline: none;
    cursor: pointer;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.btn-freeze {
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    color: #0ea5e9;
    font-weight: 600;
    font-size: 14px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1.5px solid #bae6fd;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-freeze::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-freeze:hover {
    border-color: #0ea5e9;
    color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.btn-freeze:hover::before {
    left: 100%;
}

.btn-freeze:active {
    transform: translateY(0);
}

.btn-disabled {
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    font-size: 14px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: not-allowed;
    opacity: 0.7;
    position: relative;
}

.btn-disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1.5px;
    background: #94a3b8;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.btn-disabled:hover::after {
    opacity: 0.5;
    transform: scaleX(1);
}

.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 13px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(70px);
    opacity: 0;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    z-index: 999;
    pointer-events: none;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i {
    color: var(--accent-primary);
    font-size: 16px;
}

.toast.err i {
    color: #ef4444;
}

.auth-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.auth-left {
    padding: 40px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 40px;
}

.auth-logo .logo-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.auth-logo .logo-icon i {
    color: #f7f7f7;
    font-size: 20px;
}

.auth-logo .logo-text {
    font-size: 26px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.auth-card-header {
    margin-bottom: 32px;
}

.auth-card-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.auth-card-header p {
    font-size: 14px;
    color: var(--text-muted);
}

.auth-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: var(--accent-secondary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 16px;
    transition: color 0.2s ease;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 52px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-hover);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.input-wrapper input:focus+i,
.input-wrapper:focus-within i {
    color: var(--accent-primary);
}

.input-wrapper input.error {
    border-color: #ef4444 !important;
}

.field-error {
    font-size: 13px;
    color: #ef4444;
    margin-top: 4px;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-toggle {
    position: absolute;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 1;
}

.password-toggle:hover {
    color: var(--accent-primary);
}

.terms-text {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.terms-text a {
    color: var(--accent-primary);
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

.password-strength {
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
    transition: all 0.3s ease;
}

.password-strength.weak {
    color: #ef4444;
}

.password-strength.medium {
    color: #f59e0b;
}

.password-strength.strong {
    color: #10b981;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-header {
    padding: 40px 0 30px;
    margin-bottom: 30px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.header-title h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.header-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.stat-card .stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateY(-4px);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.project-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-primary);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-paused {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-draft {
    background: rgba(100, 116, 139, 0.15);
    color: var(--text-muted);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.project-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    min-height: 42px;
    margin-bottom: 16px;
}

.project-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.project-info .info-item {
    text-align: center;
}

.project-info .info-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 4px;
}

.project-info .info-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.project-date {
    font-size: 13px;
    color: var(--text-muted);
}

.project-actions {
    display: flex;
    gap: 10px;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.empty-illustration {
    margin-bottom: 32px;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.empty-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.empty-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 400px;
    margin-bottom: 32px;
}

.create-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 40px;
    display: none;
    position: relative;
}

.create-form.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: inherit;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-hover);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input.error {
    border-color: #ef4444 !important;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.access-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.access-option {
    position: relative;
}

.access-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.access-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-tertiary);
}

.access-label:hover {
    border-color: var(--border-hover);
}

.access-option input[type="radio"]:checked+.access-label {
    border-color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.08);
}

.access-label i {
    font-size: 24px;
    color: var(--text-muted);
    width: 40px;
    text-align: center;
}

.access-option input[type="radio"]:checked+.access-label i {
    color: var(--accent-primary);
}

.access-title {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.access-description {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.character-count {
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
    margin-top: 6px;
}

.character-count.warning {
    color: #f59e0b;
}

.character-count.error {
    color: #ef4444;
}

.loading-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-lg);
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-tertiary);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-primary);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeIn 0.3s ease;
}

.success-message i {
    font-size: 20px;
}

.error-message-general {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeIn 0.3s ease;
}

.error-message-general i {
    font-size: 20px;
}

@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features {
        padding: 80px 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: none;
    }

    .nav-container {
        padding: 16px 20px;
    }

    .forum-filters {
        flex-direction: column;
    }

    .filter-buttons {
        width: 100%;
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-card {
        padding: 28px;
    }

    .post-card {
        padding: 20px;
    }

    .project-card {
        padding: 20px;
    }
}