@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #F34235;
    /* Reddish Orange from logo */
    --secondary: #00Bfa5;
    /* Green/Teal from buttons */
    --dark: #1E1E2D;
    --light: #F4F6F9;
    --white: #FFFFFF;
    --gray: #9E9E9E;
    --border-radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --font-family: 'Outfit', sans-serif;
}

body.dark-mode {
    --primary: #FF5252;
    --secondary: #64FFDA;
    --dark: #E0E0E0;
    --light: #121212;
    --white: #1E1E2D;
    --gray: #B0B0B0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: var(--dark);
}

body.dark-mode header {
    background: #1E1E2D;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.dark-mode .nav-links a {
    color: #B0B0B0;
}

body.dark-mode .nav-links a:hover,
body.dark-mode .nav-links a.active {
    color: var(--secondary);
}

body.dark-mode .search-input {
    background: #2D2D3F;
    color: white;
}

body.dark-mode .welcome-logo div {
    box-shadow: none;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    /* App Icon shape */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    cursor: pointer;
    color: #777;
}

.profile-icon {
    width: 36px;
    height: 36px;
    background: #E0E0E0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Common Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 191, 165, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 165, 0.4);
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    color: #888;
    font-size: 0.9rem;
    margin-top: 50px;
}

/* Search Bar (Global) */
.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 16px 24px;
    padding-left: 50px;
    border-radius: 30px;
    border: 1px solid transparent;
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    font-family: var(--font-family);
}

.search-input:focus {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}