/* QuickNav - Modern Navigation Hub */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --secondary-light: #a78bfa;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --background: #f9fafb;
    --surface: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.2s ease-in-out;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: var(--transition);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.dark-theme {
    background: #1a1a2e;
    color: #e9ecef;
}

body.dark-theme .background-gradient {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
}

/* Background */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f4f8 0%, #e9ecef 100%);
    transition: var(--transition);
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 20%);
    animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(2%, 2%); }
    50% { transform: translate(0, 2%); }
    75% { transform: translate(-2%, 0); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.top-bar:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.branding {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 32px;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2));
}

.logo span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.status-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.time-date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.time {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.weather-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.weather-widget:hover {
    background: white;
}

.weather-icon {
    font-size: 24px;
    color: var(--warning);
}

.weather-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.weather-temp {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.weather-location {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.theme-toggle {
    display: flex;
    align-items: center;
}

.theme-btn {
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.theme-btn:hover {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
    transform: scale(1.1);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 214, 229, 0.3);
    transition: all 0.3s ease;
}

.header:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #27ae60 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: -1px;
}

.logo-subtitle {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 400;
    letter-spacing: 1px;
}

.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.header-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.theme-switcher {
    display: flex;
    align-items: center;
}

.theme-toggle-btn {
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #27ae60;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(200, 214, 229, 0.3);
    transition: all 0.3s ease;
}

.weather-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.weather-icon {
    font-size: 2.5rem;
    color: #3498db;
    filter: drop-shadow(0 2px 4px rgba(52, 152, 219, 0.3));
}

.weather-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.weather-temp {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.weather-location {
    font-size: 0.9rem;
    color: #666;
}

.time-display {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.date-display {
    font-size: 0.9rem;
    color: #666;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(200, 214, 229, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 20px;
    background: linear-gradient(135deg, #27ae60 0%, #3498db 100%);
    color: white;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-content {
    padding: 28px;
}

.card-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

/* Search Module */
.search-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
    margin-bottom: 32px;
}

.search-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.search-input-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 24px;
}

#search-input {
    width: 100%;
    padding: 16px 64px 16px 24px;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 50px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

#search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: white;
    transform: scale(1.02);
}

#search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
}

.search-options {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.engine-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.engine-btn:hover {
    background: white;
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.1);
}

.engine-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

/* Section Title */
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.section-title i {
    color: var(--primary);
    font-size: 1.4rem;
}

/* Quick Links Section */
.quick-links-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}

.quick-links-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.link-category {
    background: var(--background);
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.link-category:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.category-title i {
    color: var(--primary);
    font-size: 1.1rem;
}

.category-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
}

.link-item:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.link-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Live Data Section */
.live-data-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}

.live-data-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.data-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.data-card {
    background: var(--background);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.data-card:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.card-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.refresh-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.card-body {
    padding: 16px;
}

/* News List */
.news-list {
    max-height: 200px;
    overflow-y: auto;
}

.news-item {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.news-item:hover {
    background: white;

}

.news-item:last-child {
    border-bottom: none;
}

.news-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
    font-size: 0.85rem;
}

.news-description {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-bottom: 6px;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.7rem;
}



.weather-placeholder,
.news-placeholder,
.stocks-placeholder,
.crypto-placeholder {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 20px;
    background: var(--background);
    border-radius: var(--radius-sm);
    margin: 8px;
}

/* Stocks List */
.stocks-list {
    max-height: 200px;
    overflow-y: auto;
}

.stocks-item {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stocks-item:hover {
    background: white;
    transform: translateX(2px);
}

.stocks-item:last-child {
    border-bottom: none;
}

.stocks-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stocks-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.stocks-symbol {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.stocks-price {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.stocks-change {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
}

.stocks-change.positive {
    background: rgba(76, 201, 240, 0.1);
    color: var(--success);
}

.stocks-change.negative {
    background: rgba(247, 37, 133, 0.1);
    color: var(--danger);
}

/* Crypto List */
.crypto-list {
    max-height: 200px;
    overflow-y: auto;
}

.crypto-item {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.crypto-item:hover {
    background: white;
    transform: translateX(2px);
}

.crypto-item:last-child {
    border-bottom: none;
}

.crypto-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crypto-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

.crypto-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.crypto-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.crypto-symbol {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.crypto-price {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.crypto-change {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
}

.crypto-change.positive {
    background: rgba(76, 201, 240, 0.1);
    color: var(--success);
}

.crypto-change.negative {
    background: rgba(247, 37, 133, 0.1);
    color: var(--danger);
}

/* Tools Section */
.tools-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}

.tools-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
}

.tool-item:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: transparent;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.tool-item:hover .tool-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.tool-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.tool-item:hover .tool-icon i {
    color: white;
    transform: rotate(5deg);
}

.tool-name {
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(222, 226, 230, 0.5);
    transition: var(--transition);
}

.footer:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-info {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: center;
}

/* Quick Access Module */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.category-card {
    background: #f5f7fa;
    border: 1px solid #e4f0f5;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #27ae60;
}

.category-header {
    padding: 15px;
    background: linear-gradient(135deg, #27ae60 0%, #3498db 100%);
    color: white;
}

.category-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-links {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    text-decoration: none;
    color: #666;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.link-item:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.link-item i {
    font-size: 1.3rem;
    transition: all 0.2s ease;
}

.link-item:hover i {
    transform: scale(1.1);
}

.link-item span {
    transition: all 0.2s ease;
}

/* Live Data Modules */
.live-data-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

/* News Module */
.news-list {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #6a11cb #f8f9fa;
}

.news-item {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.news-item:hover {
    background: #f8f9fa;

}

.news-item:hover::before {
    transform: scaleY(1);
}

.news-item:last-child {
    border-bottom: none;
}

.news-image-container {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image {
    transform: scale(1.05);
}

.news-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    font-size: 0.95rem;
}

.news-description {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.75rem;
}

.news-placeholder {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 10px;
}

/* Weather Module */
.weather-details {
    text-align: center;
    padding: 20px 0 20px;
}

.weather-placeholder {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 10px;
}

/* Stocks Module */
.stocks-list {
    max-height: 300px;
    overflow-y: auto;
}

.stocks-item {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stocks-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.stocks-item:last-child {
    border-bottom: none;
}

.stocks-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stocks-name {
    font-weight: 600;
    color: #333;
}

.stocks-symbol {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
}

.stocks-price {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.stocks-change {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
}

.stocks-change.positive {
    background: rgba(17, 203, 106, 0.1);
    color: #11cb6a;
}

.stocks-change.negative {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.stocks-placeholder {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 10px;
}

/* Crypto Module */
.crypto-list {
    max-height: 300px;
    overflow-y: auto;
}

.crypto-item {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.crypto-item:hover {
    background: #f8fafc;
    transform: translateX(2px);
}

.crypto-item:last-child {
    border-bottom: none;
}

.crypto-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.crypto-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.crypto-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.crypto-name {
    font-weight: 600;
    color: #333;
}

.crypto-symbol {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
}

.crypto-price {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.crypto-change {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
}

.crypto-change.positive {
    background: rgba(17, 203, 106, 0.1);
    color: #11cb6a;
}

.crypto-change.negative {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.crypto-placeholder {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 10px;
}

/* Tools Module */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    text-decoration: none;
    color: #666;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: center;
}

.tool-item:hover {
    background: linear-gradient(135deg, #27ae60 0%, #3498db 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3);
}

.tool-item i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.tool-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Refresh Button */
.refresh-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 50%;
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Footer */
.footer {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 214, 229, 0.3);
    transition: all 0.3s ease;
}

.footer:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #333;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-info {
    text-align: center;
    color: #999;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .data-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    .top-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px;
    }
    
    .status-bar {
        flex-direction: row;
        gap: 10px;
        width: 100%;
    }
    
    .time-date {
        align-items: center;
        flex: 1;
    }
    
    .weather-widget {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 0px;
        flex: 1;
    }
    .weather-details{
        padding: 0;
    }
    
    .search-input-wrapper {
        max-width: 100%;
    }
    
    .data-cards {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .category-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-links {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 1.5rem;
    }
    
    .time {
        font-size: 1rem;
    }
    
    #search-input {
        padding: 14px 56px 14px 20px;
        font-size: 0.9rem;
    }
    
    .search-btn {
        width: 48px;
        height: 48px;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .quick-links-section,
    .live-data-section,
    .tools-section {
        padding: 20px;
    }
    
    .category-links {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tool-item {
        padding: 16px 12px;
    }
    
    .tool-icon {
        width: 40px;
        height: 40px;
    }
    
    .tool-icon i {
        font-size: 1.2rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--background);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Apply animations */
.top-bar,
.search-section,
.quick-links-section,
.live-data-section,
.tools-section,
.footer {
    animation: fadeIn 0.5s ease forwards;
}

.top-bar {
    animation-delay: 0.1s;
}

.search-section {
    animation-delay: 0.2s;
}

.quick-links-section {
    animation-delay: 0.3s;
}

.live-data-section {
    animation-delay: 0.4s;
}

.tools-section {
    animation-delay: 0.5s;
}

.footer {
    animation-delay: 0.6s;
}

/* Interactive elements hover effects */
.link-item,
.tool-item,
.engine-btn {
    position: relative;
    overflow: hidden;
}

.link-item::before,
.tool-item::before,
.engine-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.link-item:hover::before,
.tool-item:hover::before,
.engine-btn:hover::before {
    opacity: 1;
    transform: rotate(45deg) translateX(25%);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a10b0 0%, #1e64e6 100%);
}

/* Responsive */
@media (max-width: 1024px) {
    .live-data-modules {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px 12px;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 18px;
        border-radius: 16px;
    }
    
    .header-info {
        align-items: center;
        width: 100%;
    }
    
    .header-controls {
        width: 100%;
        align-items: center;
    }
    
    .weather-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 100%;
        padding: 15px;
        border-radius: 10px;
    }
    
    .logo-text {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .live-data-modules {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .search-engines {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .engine-btn {
        justify-content: center;
        padding: 12px 20px;
        border-radius: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .main-content {
        gap: 25px;
    }
    
    .card {
        border-radius: 16px;
    }
    
    .card-content {
        padding: 18px;
    }
    
    .card-header {
        padding: 18px;
    }
    
    .card-header h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px;
        border-radius: 14px;
    }
    
    .logo-text {
        font-size: 1.6rem;
    }
    
    .logo-subtitle {
        font-size: 0.85rem;
    }
    
    .time-display {
        font-size: 1.1rem;
    }
    
    .date-display {
        font-size: 0.75rem;
    }
    
    .card {
        border-radius: 14px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-header {
        padding: 15px;
    }
    
    .card-header h2 {
        font-size: 1rem;
        gap: 8px;
    }
    
    .category-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .link-item {
        padding: 10px;
        font-size: 0.75rem;
        border-radius: 6px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tool-item {
        padding: 15px;
        border-radius: 10px;
    }
    
    .search-input-container {
        margin-bottom: 15px;
    }
    
    #search-input {
        padding: 12px 45px 12px 15px;
        font-size: 0.85rem;
        border-radius: 40px;
    }
    
    .search-btn {
        width: 38px;
        height: 38px;
    }
    
    .main-content {
        gap: 18px;
    }
    
    .live-data-modules {
        gap: 18px;
    }
    
    .footer {
        border-radius: 14px;
        padding: 15px;
    }
    
    .footer-links {
        gap: 8px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 30px 30px;
    }
}

/* Apply animations */
.card {
    animation: fadeIn 0.5s ease forwards;
}

.search-card {
    animation-delay: 0.1s;
}

.quick-access-card {
    animation-delay: 0.2s;
}

.news-card {
    animation-delay: 0.3s;
}

.weather-card {
    animation-delay: 0.4s;
}

.stocks-card {
    animation-delay: 0.5s;
}

.crypto-card {
    animation-delay: 0.6s;
}

.tools-card {
    animation-delay: 0.7s;
}

.footer {
    animation-delay: 0.8s;
}

/* Dark Theme Styles */
body.dark-theme .card {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .card-header {
    background: linear-gradient(135deg, #2d1b69 0%, #1a45b5 100%);
}

body.dark-theme .header {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .weather-info {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .theme-toggle-btn {
    background: rgba(26, 26, 46, 0.8);
    color: #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.dark-theme .footer {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme input, 
body.dark-theme textarea, 
body.dark-theme select {
    background: #2d1b69;
    color: #e9ecef;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme input:focus, 
body.dark-theme textarea:focus, 
body.dark-theme select:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.2);
}

body.dark-theme .news-item {
    background: #2d1b69;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .news-title {
    color: #e9ecef;
}

body.dark-theme .news-description {
    color: #adb5bd;
}

body.dark-theme .news-meta {
    color: #6c757d;
}

body.dark-theme .stocks-item {
    background: #2d1b69;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .stocks-name {
    color: #e9ecef;
}

body.dark-theme .stocks-symbol {
    color: #adb5bd;
}

body.dark-theme .stocks-price {
    color: #e9ecef;
}

body.dark-theme .crypto-item {
    background: #2d1b69;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .crypto-name {
    color: #e9ecef;
}

body.dark-theme .crypto-symbol {
    color: #adb5bd;
}

body.dark-theme .crypto-price {
    color: #e9ecef;
}

body.dark-theme .footer-links a {
    color: #adb5bd;
}

body.dark-theme .footer-links a:hover {
    color: #e9ecef;
}

body.dark-theme .footer-info {
    color: #6c757d;
}

body.dark-theme .time-display {
    color: #e9ecef;
}

body.dark-theme .date-display {
    color: #adb5bd;
}

body.dark-theme .logo-subtitle {
    color: #adb5bd;
}

body.dark-theme .weather-location {
    color: #adb5bd;
}

body.dark-theme .news-placeholder {
    color: #6c757d;
    background: #2d1b69;
}

body.dark-theme .stocks-placeholder {
    color: #6c757d;
    background: #2d1b69;
}

body.dark-theme .crypto-placeholder {
    color: #6c757d;
    background: #2d1b69;
}

body.dark-theme .weather-placeholder {
    color: #6c757d;
    background: #2d1b69;
}

/* Large Screen Optimization (PC) */
@media (min-width: 1200px) {
    /* More compact main content */
    .main-content {
        gap: 20px;
    }
    
    /* Compact cards */
    .card-header {
        padding: 18px;
    }
    
    .card-content {
        padding: 18px;
    }
    
    /* Compact quick access */
    .categories-grid {
        gap: 12px;
    }
    
    .category-header {
        padding: 12px;
    }
    
    .category-links {
        padding: 10px;
        gap: 6px;
    }
    
    .link-item {
        padding: 10px;
        gap: 4px;
    }
    
    /* Compact live data modules */
    .live-data-modules {
        gap: 15px;
    }
    
    /* Compact header */
    .header {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .header-info {
        gap: 4px;
    }
    
    .header-controls {
        gap: 8px;
    }
    
    /* Compact footer */
    .footer {
        margin-top: 20px;
        padding: 18px;
    }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
    display: none;
}

.modal.active {
    display: block;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--background);
    color: var(--danger);
}

.modal-body {
    padding: 20px;
}

/* Calculator Modal */
.calculator-modal {
    max-width: 400px;
}

.calculator-display {
    background: var(--background);
    padding: 20px;
    text-align: right;
    font-size: 2rem;
    font-weight: 600;
    border-radius: var(--radius);
    margin-bottom: 20px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.calculator-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.calc-btn {
    padding: 20px;
    font-size: 1.25rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    background: var(--background);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.calc-btn:hover {
    background: var(--primary-light);
    color: white;
    transform: scale(1.05);
}

.calc-btn.operator {
    background: var(--primary);
    color: white;
}

.calc-btn.operator:hover {
    background: var(--primary-dark);
}

.calc-btn.equals {
    background: var(--success);
    color: white;
    grid-column: span 2;
}

.calc-btn.equals:hover {
    background: #059669;
}

.calc-btn.zero {
    grid-column: span 2;
}

/* Converter Modal */
.converter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.converter-tab {
    flex: 1;
    min-width: 80px;
    padding: 10px 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.converter-tab:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

.converter-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.converter-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.converter-input-group {
    display: flex;
    gap: 10px;
}

.converter-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: var(--background);
    color: var(--text-primary);
}

.converter-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.converter-input-group select {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    background: var(--background);
    color: var(--text-primary);
    cursor: pointer;
    min-width: 120px;
}

.converter-swap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.converter-swap:hover {
    transform: rotate(180deg);
}

/* Notes Modal */
.notes-modal {
    max-width: 600px;
}

.notes-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.notes-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.notes-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.notes-btn:last-child {
    background: var(--danger);
}

.notes-btn:last-child:hover {
    background: #dc2626;
}

.notes-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.notes-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.note-item {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    transition: var(--transition);
}

.note-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.note-content {
    flex: 1;
}

.note-text {
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.note-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.note-actions {
    display: flex;
    gap: 8px;
}

.note-action-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.note-action-btn:hover {
    color: var(--primary);
}

.note-action-btn.delete:hover {
    color: var(--danger);
}

/* Timer Modal */
.timer-modal {
    max-width: 450px;
}

.timer-display {
    background: var(--background);
    padding: 30px;
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    color: var(--text-primary);
}

.timer-inputs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.timer-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.timer-input-group label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
}

.timer-input-group input {
    width: 70px;
    padding: 12px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--background);
    color: var(--text-primary);
}

.timer-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.timer-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.timer-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.timer-btn#timer-pause {
    background: var(--warning);
}

.timer-btn#timer-pause:hover {
    background: #d97706;
}

.timer-btn#timer-reset {
    background: var(--danger);
}

.timer-btn#timer-reset:hover {
    background: #dc2626;
}

/* Password Generator Modal */
.password-modal {
    max-width: 500px;
}

.password-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.password-display {
    background: var(--background);
    padding: 20px;
    border-radius: var(--radius);
    font-size: 1.25rem;
    font-family: 'Courier New', monospace;
    text-align: center;
    word-break: break-all;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.password-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-primary);
    width: 100%;
}

.password-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.password-option input[type="number"] {
    width: 60px;
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    background: var(--background);
    color: var(--text-primary);
}

.password-controls {
    display: flex;
    gap: 10px;
}

.password-btn {
    flex: 1;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.password-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* QR Code Generator Modal */
.qr-modal {
    max-width: 500px;
}

.qr-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qr-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qr-input-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.qr-input-group input {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: var(--background);
    color: var(--text-primary);
}

.qr-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.qr-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: var(--background);
    border-radius: var(--radius);
    min-height: 200px;
}

.qr-placeholder {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.qr-preview img {
    max-width: 100%;
    max-height: 200px;
}

.qr-controls {
    display: flex;
    gap: 10px;
}

.qr-btn {
    flex: 1;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qr-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.qr-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

.qr-btn:disabled:hover {
    background: var(--text-muted);
    transform: none;
}