/* ==========================================
   Main Stylesheet - Tools Hub
   Using the same style from nor files
   ========================================== */

/* Root Variables - Same as nor style */
:root {
    --bg-dark: #000000;
    --bg-panel: #0f0f0f;
    --accent-primary: #4facfe;
    --accent-secondary: #00f2fe;
    --text-main: #ffffff;
    --text-muted: #b8bcc0;
    --border-glow: rgba(79, 172, 254, 0.2);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --success: #4ade80;
    --warning: #fbbf24;
    --error: #ff6b6b;
    --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-dark: #ffffff;
    --bg-panel: #f8f9fa;
    --text-main: #1a202c;
    --text-muted: #4a5568;
    --border-glow: rgba(79, 172, 254, 0.1);
}

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

body {
    font-family: 'Cairo', sans-serif;
    background: radial-gradient(ellipse at bottom, var(--bg-dark) 0%, #1a202c 100%);
    color: var(--text-main);
    min-height: 100vh;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* Background Animation - Same as nor */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(79, 172, 254, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(79, 172, 254, 0.2) 0%, transparent 50%);
    background-size: 200% 200%;
    animation: gradient-shift 10s ease infinite;
    z-index: -1;
}

@keyframes gradient-shift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    font-size: 4rem;
    color: var(--accent-primary);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(79, 172, 254, 0.3);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    color: var(--text-main);
    margin-top: 20px;
    font-size: 18px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(79, 172, 254, 0.18);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-menu.active {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

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

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.search-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    background: rgba(15, 15, 15, 0.8);
    border-radius: 12px;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover {
    background: rgba(79, 172, 254, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.tool-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tool-link:hover {
    color: var(--text-main);
    background: rgba(79, 172, 254, 0.1);
}

.tool-link i {
    color: var(--accent-primary);
}

/* Search Bar */
.search-bar {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 20px;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(79, 172, 254, 0.18);
}

.search-bar.active {
    transform: translateY(0);
    opacity: 1;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-container input {
    flex: 1;
    padding: 16px 24px;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
}

.search-container button {
    padding: 16px 30px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: var(--bg-panel);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
}

.navbar.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-main);
    background: rgba(79, 172, 254, 0.1);
}

.nav-link.active {
    color: var(--accent-primary);
    background: rgba(79, 172, 254, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--gradient-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle, .lang-toggle, .nav-user {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    background: rgba(15, 15, 15, 0.8);
    border-radius: 12px;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover, .lang-toggle:hover, .nav-user:hover {
    background: rgba(79, 172, 254, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-burger span {
    width: 100%;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    padding: 150px 0 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-panel);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
}

.btn-secondary {
    background: rgba(79, 172, 254, 0.1);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: rgba(79, 172, 254, 0.2);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-search {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
}

.hero-search input {
    flex: 1;
    padding: 16px 24px;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 16px;
    transition: all 0.3s ease;
}

.hero-search input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
}

.search-btn {
    padding: 16px 30px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: var(--bg-panel);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Hero Animation */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icons i {
    position: absolute;
    font-size: 3rem;
    color: var(--accent-primary);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-icons i:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-icons i:nth-child(2) { top: 20%; right: 20%; animation-delay: 1s; }
.floating-icons i:nth-child(3) { bottom: 30%; left: 15%; animation-delay: 2s; }
.floating-icons i:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 3s; }
.floating-icons i:nth-child(5) { top: 50%; left: 50%; animation-delay: 4s; }
.floating-icons i:nth-child(6) { top: 30%; left: 30%; animation-delay: 5s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background: rgba(15, 15, 15, 0.5);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-main);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    border: 1px solid rgba(79, 172, 254, 0.18);
    padding: 40px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 0.5;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(79, 172, 254, 0.2);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.category-icon i {
    font-size: 2rem;
    color: var(--bg-panel);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

.category-desc {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.category-count {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 20px;
    color: var(--accent-primary);
    font-size: 0.9rem;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-radius: 0 0 24px 24px;
}

.category-card:hover .category-overlay {
    transform: translateY(0);
}

.category-btn {
    display: block;
    text-align: center;
    color: var(--bg-panel);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Quick Tools Section */
.quick-tools-section {
    padding: 80px 0;
}

.quick-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.quick-tool {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(79, 172, 254, 0.18);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quick-tool:hover {
    background: rgba(79, 172, 254, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.2);
}

.quick-tool i {
    font-size: 2rem;
    color: var(--accent-primary);
}

.quick-tool h4 {
    font-weight: 500;
    margin: 0;
    font-size: 1rem;
}

.quick-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.quick-tool {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(79, 172, 254, 0.18);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quick-tool:hover {
    background: rgba(79, 172, 254, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.2);
}

.quick-tool i {
    font-size: 2rem;
    color: var(--accent-primary);
}

.quick-tool span {
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: rgba(15, 15, 15, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(79, 172, 254, 0.18);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--bg-panel);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(79, 172, 254, 0.18);
    padding: 60px 0 20px;
    margin-top: 100px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--bg-panel);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-primary);
}

.footer-newsletter h4 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-newsletter p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 10px;
    color: var(--text-main);
}

.newsletter-form button {
    padding: 12px 25px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    color: var(--bg-panel);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
    color: var(--text-muted);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 32px;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 36px;
    height: 36px;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;
}

.modal-close:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--error);
    color: var(--error);
}

.modal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.2);
    padding-bottom: 15px;
}

.modal-tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.modal-tab:hover {
    background: rgba(79, 172, 254, 0.1);
}

.modal-tab.active {
    background: var(--gradient-primary);
    color: var(--bg-panel);
}

.auth-form {
    display: block;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-group input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 16px;
    transition: all 0.3s ease;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
}

/* Form Styles - Same as nor */
.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    text-align: right;
}

.form-group input {
    width: 100%;
    padding: 16px 48px 16px 20px;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
    background: rgba(79, 172, 254, 0.1);
    outline: none;
}

.form-group i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-secondary);
    font-size: 18px;
    z-index: 2;
    transition: color 0.3s ease;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: var(--bg-panel);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    transition: left 0.5s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
}

.submit-btn:hover::after {
    left: 100%;
}

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

.toggle-link a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.signup-container,
.login-container {
    display: none;
}

.active-container {
    display: block;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}
