/* CSS Variables for Theme Management */
:root {
    /* Dark Theme (Default) */
    --bg-primary: #0a0e13;
    --bg-secondary: #0C1922;
    --bg-tertiary: #1a2332;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d1;
    --text-muted: #7a8b99;
    --accent-primary: #4a90e2;
    --accent-secondary: #7c3aed;
    --accent-highlight: #fbbf24;
    --border-color: #2d3748;
    --shadow: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #4a90e2 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #1a2332 0%, #0C1922 100%);
}

[data-theme="light"] {
    /* Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --accent-primary: #4a90e2;
    --accent-secondary: #805ad5;
    --accent-highlight: #d69e2e;
    --border-color: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #4a90e2 0%, #805ad5 100%);
    --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: all 0.3s ease;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
    max-width: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

/* Simple dropdown menu styling */
.nav-dropdown .dropdown-toggle {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    background: none;
    border: none;
}

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

.nav-dropdown .dropdown-toggle::after {
    display: none; /* Remove underline for dropdown toggles */
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: auto;
    min-width: 160px;
    max-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 1000;
    margin-top: 5px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Hide scrollbars in dropdown menus */
.dropdown-menu::-webkit-scrollbar {
    display: none;
}

.dropdown-menu {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    font-weight: 400;
    font-size: 0.9rem;
    background: var(--bg-secondary);
}

.dropdown-link:last-child {
    border-bottom: none;
}

.dropdown-link:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
}

.theme-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle .ri {
    font-size: 1.2rem;
    line-height: 1;
}

.theme-toggle:hover {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
    padding-top: 70px; /* Add padding to account for fixed navbar */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.hero-logo-img:hover {
    transform: scale(1.05) rotate(2deg);
}

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

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

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

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

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #0099cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: slideInRight 1s ease-out;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px var(--shadow);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

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

.floating-card span {
    font-weight: 600;
    color: var(--text-primary);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
    border-color: var(--accent-primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.service-icon .ri {
    font-size: 2rem;
    line-height: 1;
}

.service-card h3,
.service-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

/* Products Section */
.products {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.product-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
    border-color: var(--accent-secondary);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.product-icon .ri {
    font-size: 2rem;
    line-height: 1;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.product-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature-tag {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Team Section */
.team {
    padding: 100px 0;
    background: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
}

.member-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3rem;
    color: white;
}

.member-avatar .ri {
    font-size: 3rem;
    line-height: 1;
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.member-role {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.contact-item .ri {
    font-size: 1.2rem;
    line-height: 1;
}

.contact-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(107, 114, 128, 0.5);
    border-radius: 6px;
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border: 1px solid var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.1);
    background: var(--bg-primary) !important;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border: 1px solid var(--accent-primary);
    background: var(--bg-primary) !important;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Enhanced Radio Button and Checkbox Styling */
.radio-group,
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
}

/* Radio Button Styling */
.radio-group input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.radio-group input[type="radio"]:hover {
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
    transform: scale(1.1);
}

.radio-group input[type="radio"]:checked {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.radio-group input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Checkbox Styling - Keep iPhone-style for toggles */
.checkbox-group input[type="checkbox"] {
    appearance: none;
    width: 52px;
    height: 30px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkbox-group input[type="checkbox"]:before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--text-primary);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.checkbox-group input[type="checkbox"]:checked {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.checkbox-group input[type="checkbox"]:checked:before {
    transform: translateX(22px);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.checkbox-group input[type="checkbox"]:hover {
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15);
    transform: scale(1.02);
}

.checkbox-group input[type="checkbox"]:active {
    transform: scale(0.98);
}

/* Toggle Switch Styling */
.toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-switch input[type="checkbox"] {
    appearance: none;
    width: 52px;
    height: 30px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch input[type="checkbox"]:before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--text-primary);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.toggle-switch input[type="checkbox"]:checked {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.toggle-switch input[type="checkbox"]:checked:before {
    transform: translateX(22px);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-switch input[type="checkbox"]:hover {
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15);
    transform: scale(1.02);
}

.toggle-switch input[type="checkbox"]:active {
    transform: scale(0.98);
}

.radio-group label,
.checkbox-group label,
.toggle-switch label {
    color: var(--text-primary);
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    font-weight: 500;
}

/* Enhanced Select/Combobox Styling */
.custom-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300d4ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    box-shadow: none;
}

/* Ensure select options have dark theme background */
.form-group select option,
.custom-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 8px 12px;
}

/* Fix for webkit browsers */
.form-group select option:checked,
.custom-select option:checked {
    background: var(--accent-primary);
    color: white;
}

.custom-select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.1);
    background: var(--bg-primary);
}

.custom-select:hover {
    border-color: var(--accent-primary);
    background: var(--bg-primary);
}

/* Multi-select styling */
.multi-select {
    position: relative;
    width: 100%;
}

.multi-select .select-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
}

.multi-select .select-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.multi-select .select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 25px var(--shadow);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    backdrop-filter: blur(10px);
}

.multi-select .select-dropdown.show {
    display: block;
}

.multi-select .select-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.multi-select .select-option:last-child {
    border-bottom: none;
}

.multi-select .select-option:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
}

.multi-select .select-option.selected {
    background: rgba(74, 144, 226, 0.1);
    color: var(--accent-primary);
}

.multi-select .select-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

/* Searchable Select */
.searchable-select {
    position: relative;
    width: 100%;
}

.searchable-select .search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.searchable-select .search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.searchable-select .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 25px var(--shadow);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    backdrop-filter: blur(10px);
}

.searchable-select .search-results.show {
    display: block;
}

.searchable-select .search-result {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.searchable-select .search-result:last-child {
    border-bottom: none;
}

.searchable-select .search-result:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
}

/* Data List Styles */
.data-list {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin: 20px 0;
}

.data-list-header {
    background: var(--bg-tertiary);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.data-list-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 5px 0;
}

.data-list-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.data-list-content {
    padding: 0;
}

.data-list-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.data-list-item:last-child {
    border-bottom: none;
}

.data-list-item:hover {
    background: var(--bg-tertiary);
}

.data-list-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.data-list-item-icon i {
    color: white;
    font-size: 18px;
}

.data-list-item-content {
    flex: 1;
}

.data-list-item-title {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    font-size: 0.95rem;
}

.data-list-item-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

.data-list-item-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.data-list-item-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(74, 144, 226, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.status-pending {
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent-highlight);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.status-completed {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Button Groups */
.button-group {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.button-showcase h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.button-showcase {
    margin: 20px 0;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    border-radius: 6px;
}

.footer-logo span {
    font-weight: 600;
    color: var(--text-primary);
}

.footer p {
    color: var(--text-muted);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        gap: 8px;
    }
    
    .nav-logo .logo {
        height: 35px;
        max-width: 35px;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Mobile dropdown support */
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-tertiary);
        margin: 10px 0;
        border-radius: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 15px 20px;
    }
    
    .dropdown-link {
        padding: 12px 40px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 15px;
        margin-top: 20px; /* Add extra margin for mobile */
    }
    
    .hero-logo-img {
        height: 100px;
        max-width: 200px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-logo {
        gap: 6px;
    }
    
    .nav-logo .logo {
        height: 30px;
        max-width: 30px;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .hero-container {
        padding: 0 10px;
        margin-top: 15px; /* Add margin for smaller screens */
    }
    
    .hero-logo-img {
        height: 80px;
        max-width: 150px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 320px) {
    .nav-container {
        padding: 0 8px;
    }
    
    .nav-logo {
        gap: 4px;
    }
    
    .nav-logo .logo {
        height: 28px;
        max-width: 28px;
    }
    
    .brand-name {
        font-size: 0.9rem;
    }
    
    .hero-container {
        padding: 0 8px;
        margin-top: 10px; /* Add margin for very small screens */
    }
    
    .hero-logo-img {
        height: 70px;
        max-width: 120px;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Team Member Social Links */
.member-social {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link .ri {
    font-size: 1rem;
    line-height: 1;
}

.social-link:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.member-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Contact Section Enhancements */
.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.contact-social .social-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

.contact-social .social-link .ri {
    font-size: 1rem;
    line-height: 1;
}

/* Dashboard Components */
.dashboard {
    padding: 100px 0;
    background: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0 8px 0;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

.stat-change.positive {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.stat-change.negative {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Data Table */
.data-table-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.table-header h3 {
    margin: 0;
    color: var(--text-primary);
}

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

.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.data-table td {
    color: var(--text-secondary);
}

.data-table tbody tr:hover {
    background: var(--bg-tertiary);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-completed {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.status-badge.status-pending {
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent-highlight);
}

.status-badge.status-active {
    background: rgba(74, 144, 226, 0.1);
    color: var(--accent-primary);
}

.btn-icon-small {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon-small:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
}

/* Notifications */
.notifications-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.notification-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.notifications-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: var(--bg-tertiary);
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 16px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin: 0 0 4px 0;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.notification-content p {
    margin: 0 0 4px 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.notification-time {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.notification-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    margin-left: 16px;
    flex-shrink: 0;
}

.notification-status.unread {
    background: var(--accent-primary);
}

/* Stage Status Styling */
.stage-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.stage-status:hover::before {
    left: 100%;
}

/* Status Variations */
.stage-status:contains("In Progress"),
.stage-status:contains("Active") {
    background: rgba(74, 144, 226, 0.15);
    color: var(--accent-primary);
    border: 1px solid rgba(74, 144, 226, 0.3);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
}

.stage-status:contains("Pending"),
.stage-status:contains("Waiting") {
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-highlight);
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
}

.stage-status:contains("Completed"),
.stage-status:contains("Done"),
.stage-status:contains("Approved") {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.stage-status:contains("Rejected"),
.stage-status:contains("Failed"),
.stage-status:contains("Cancelled") {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.stage-status:contains("Draft"),
.stage-status:contains("Review") {
    background: rgba(107, 114, 128, 0.15);
    color: var(--text-secondary);
    border: 1px solid rgba(107, 114, 128, 0.3);
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.2);
}

/* Hover Effects */
.stage-status:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Stage Header Styling */
.stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.stage-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Approval Stages Container */
.approval-stages {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stage {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-color);
    transition: all 0.3s ease;
}

.stage.active::before {
    background: var(--accent-primary);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.stage:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-primary);
}

.stage.active {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.1);
}

/* AmaThinking Form - Based on approval-form style */
/* Legacy AmaThinkingForm styles removed - now using unified-form */

/* Unified Form Styling */
.unified-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    padding: 0;
    transition: all 0.2s ease;
}

.unified-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.unified-form .form-actions .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.unified-form .form-actions .btn:hover::before {
    left: 100%;
}

.unified-form .form-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.unified-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.unified-form .form-row:last-child {
    margin-bottom: 0;
}

.unified-form .form-section {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
}

.unified-form .form-section:last-child {
    margin-bottom: 0;
}

.unified-form .form-section h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

/* Legacy AmaThinkingForm styles removed - now using unified-form */

/* Legacy config-form styles removed - now using unified-form */

.config-section {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.config-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-color);
    transition: all 0.3s ease;
}

.config-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-primary);
}

.config-section:hover::before {
    background: var(--accent-primary);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.config-section h4 {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.config-section h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--accent-primary);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
}

.config-section h4::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-color), transparent);
    margin-left: 15px;
}

/* Configuration Form Groups */
.config-form .form-group {
    margin-bottom: 20px;
}

.config-form .form-group:last-child {
    margin-bottom: 0;
}

.config-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* config-form uses unified form styling */

/* Configuration Form Row */
.config-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.config-form .form-row:last-child {
    margin-bottom: 0;
}

/* Configuration Form Actions */
.config-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.config-form .form-actions .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.config-form .form-actions .btn:hover::before {
    left: 100%;
}

.config-form .form-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Configuration Form Specific Styling */
.config-form input[type="number"] {
    text-align: center;
    font-weight: 600;
}

.config-form input[type="email"] {
    text-transform: lowercase;
}

.config-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300d4ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Configuration Section Icons */
.config-section[data-section="general"] h4::before {
    background: var(--accent-primary);
}

.config-section[data-section="security"] h4::before {
    background: #ef4444;
}

.config-section[data-section="email"] h4::before {
    background: #22c55e;
}

.config-section[data-section="database"] h4::before {
    background: #f59e0b;
}

/* Advanced Forms */
.advanced-forms {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.unified-form-wrapper {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.unified-form-wrapper h3 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Multi-step Form */
.multi-step-form {
    position: relative;
}

/* Beautiful Workflow Step Indicators */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 0;
    position: relative;
    padding: 20px 0;
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 120px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Removed ugly connecting lines between steps */

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border: 3px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 100px;
    line-height: 1.2;
}

/* Active Step Styling */
.step.active .step-number {
    background: var(--accent-primary);
    color: white;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.step.active .step-label {
    color: var(--accent-primary);
    font-weight: 700;
}

/* Completed Step Styling */
.step.completed .step-number {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.step.completed .step-number::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: bold;
}

.step.completed .step-label {
    color: var(--text-primary);
    font-weight: 600;
}

/* Hover Effects */
.step:hover .step-number {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.step:hover .step-label {
    color: var(--text-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .step-indicator {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .step {
        min-width: auto;
        width: 100%;
        max-width: 200px;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .step-label {
        font-size: 1rem;
        max-width: none;
    }
}

.form-step {
    display: none;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.form-step.active {
    display: block;
}

.form-step h4 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    padding: 0;
    background: transparent;
    border: none;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Toggle Switch */
.toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-switch input[type="checkbox"] {
    display: none;
}

.toggle-label {
    position: relative;
    width: 50px;
    height: 24px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-label::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-label {
    background: var(--accent-primary);
}

.toggle-switch input[type="checkbox"]:checked + .toggle-label::before {
    transform: translateX(26px);
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--accent-primary);
    background: rgba(74, 144, 226, 0.05);
}

.file-upload-label i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.file-upload-label span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Search Container */
.search-container {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow);
    z-index: 1000;
    display: none;
    max-height: 200px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: var(--text-primary);
}

.suggestion-item:hover {
    background: var(--bg-tertiary);
}

/* Tags Input */
.tags-input {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    background: var(--bg-primary);
    min-height: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--accent-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag-remove {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0;
    margin-left: 4px;
}

.tags-input-field {
    border: none;
    outline: none;
    background: none;
    color: var(--text-primary);
    flex: 1;
    min-width: 120px;
}

/* UI Components */
.ui-components {
    padding: 100px 0;
    background: var(--bg-primary);
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.component-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.component-section h3 {
    margin: 0 0 20px 0;
    color: var(--text-primary);
}

/* Beautiful Horizontal Tabs */
.tabs-container {
    margin-top: 20px;
}

.tab-nav {
    display: flex;
    flex-direction: row;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    gap: 4px;
}

.tab-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.03), rgba(124, 58, 237, 0.03));
    pointer-events: none;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    z-index: 2;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
    color: white;
    background: var(--accent-primary);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
    transform: translateY(-1px);
    font-weight: 700;
}

.tab-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 8px;
    pointer-events: none;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel h4 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
}

.tab-panel p {
    color: var(--text-secondary);
    margin: 0;
}

/* Progress Bars */
.progress-container {
    margin-top: 20px;
}

.progress-item {
    margin-bottom: 20px;
}

.progress-item label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    margin-left: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Alerts */
.alerts-container {
    margin-top: 20px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-warning {
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent-highlight);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-info {
    background: rgba(74, 144, 226, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(74, 144, 226, 0.2);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 20px 40px var(--shadow);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-small {
    width: 100%;
    max-width: 400px;
}

.modal-large {
    width: 100%;
    max-width: 600px;
}

.modal-fullscreen {
    width: 100%;
    max-width: 90vw;
    height: 90vh;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-body {
    padding: 20px;
    color: var(--text-secondary);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.fullscreen-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.content-section {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 8px;
}

.content-section h4 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
}

.content-section p {
    margin: 0;
    color: var(--text-secondary);
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px var(--shadow);
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideInRight 0.3s ease;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.toast-success {
    border-left: 4px solid #22c55e;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-info {
    border-left: 4px solid var(--accent-primary);
}

/* Button Sizes */
.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
}

.btn-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Button Color Variants */
.btn-success {
    background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.btn-success:hover {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.btn-warning {
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.btn-warning:hover {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.btn-danger {
    background: linear-gradient(180deg, #f87171 0%, #ef4444 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.btn-info {
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.btn-info:hover {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Typography & Icons Section */
.typography-icons {
    padding: 100px 0;
    background: var(--bg-primary);
}

.typography-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.typography-section,
.icons-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.typography-section h3,
.icons-section h3 {
    margin: 0 0 30px 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

/* Typography Examples */
.typography-examples h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.typography-examples h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.typography-examples h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.typography-examples h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.typography-examples h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.typography-examples h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.text-large {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.typography-examples p {
    color: var(--text-secondary);
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.text-small {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

.text-utilities {
    margin: 20px 0;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.text-utilities p {
    margin: 0 0 8px 0;
}

.text-colors {
    margin: 20px 0;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.text-colors p {
    margin: 0 0 8px 0;
}

.text-primary {
    color: var(--accent-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-success {
    color: #22c55e;
}

.text-warning {
    color: #f59e0b;
}

.text-danger {
    color: #ef4444;
}

.text-info {
    color: #3b82f6;
}

/* Icon Examples */
.icon-categories {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.icon-category h4 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.icon-item:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.icon-item:hover i {
    color: white;
}

.icon-item:hover span {
    color: white;
}

.icon-item i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.icon-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
    transition: color 0.2s ease;
}

/* Authentication Pages */
.auth-pages {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.auth-page {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
}

.auth-container {
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.auth-header h3 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.auth-header p {
    margin: 0;
    color: var(--text-secondary);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.forgot-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.btn-full {
    width: 100%;
    margin: 10px 0;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}

.auth-divider span {
    background: var(--bg-primary);
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.social-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-footer p {
    margin: 0;
    color: var(--text-secondary);
}

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

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

/* 2FA Code Input */
.code-input-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.code-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.code-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Profile Page */
.profile-container {
    max-width: 500px;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
}

.avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background: var(--accent-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.avatar-edit:hover {
    background: var(--accent-secondary);
    transform: scale(1.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Error Pages */
.error-pages {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

.error-page {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
}

.error-container {
    padding: 60px 40px;
    text-align: center;
}

.error-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 3rem;
}

.error-code {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0 0 10px 0;
    line-height: 1;
}

.error-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 15px 0;
}

.error-description {
    color: var(--text-secondary);
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Maintenance Page */
.maintenance-info {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.maintenance-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.maintenance-item:last-child {
    margin-bottom: 0;
}

.maintenance-item i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

/* Coming Soon Page */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 20px;
    min-width: 80px;
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile responsive for new elements */
@media (max-width: 768px) {
    .member-social {
        gap: 8px;
    }
    
    .contact-social {
        gap: 10px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .forms-grid {
        grid-template-columns: 1fr;
    }
    
    .components-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10px;
    }
    
    .modal-fullscreen {
        max-width: calc(100vw - 20px);
        height: calc(100vh - 20px);
    }
    
    .toast {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
    
    .auth-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-container {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-auth {
        grid-template-columns: 1fr;
    }
    
    .error-grid {
        grid-template-columns: 1fr;
    }
    
    .error-container {
        padding: 40px 20px;
    }
    
    .error-code {
        font-size: 3rem;
    }
    
    .countdown-container {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 15px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .typography-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .typography-section,
    .icons-section {
        padding: 30px 20px;
    }
    
    .icon-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .icon-item {
        padding: 12px;
    }
    
    .icon-item i {
        font-size: 1.2rem;
    }
    
    .icon-item span {
        font-size: 0.7rem;
    }
}

/* ===== NEW COMPONENT STYLES ===== */

/* Enhanced Navigation with Notifications and User Menu */
.nav-user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-bell {
    position: relative;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.notification-bell:hover {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.language-selector {
    position: relative;
}

.language-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.language-btn:hover {
    background: var(--accent-primary);
    color: white;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 25px var(--shadow);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
}

.user-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    background: var(--bg-tertiary);
}

.avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.user-name {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Chat Interface */
.chat-container {
    display: flex;
    height: 600px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.chat-sidebar {
    width: 300px;
    background: var(--bg-tertiary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.chat-search {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.chat-contacts {
    flex: 1;
    overflow-y: auto;
}

.chat-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.chat-contact:hover,
.chat-contact.active {
    background: var(--bg-primary);
}

.contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-last-message {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.contact-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    margin-top: 4px;
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-main-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    gap: 10px;
    max-width: 70%;
}

.message.own {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.message-content {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    border-radius: 18px;
    color: var(--text-primary);
    word-wrap: break-word;
}
 

.message.own .message-content { 
    color: white;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-align: right;
}

.message.own .message-time {
    text-align: left;
}

.message.own .message-avatar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.chat-input {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
    display: flex;
    gap: 12px;
    align-items: center;
}

.chat-input-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
    resize: none;
    max-height: 100px;
}

.chat-send-btn {
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    background: var(--accent-secondary);
    transform: scale(1.1);
}

/* Email Interface */
.email-container {
    display: flex;
    height: 600px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.email-sidebar {
    width: 250px;
    background: var(--bg-tertiary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.email-folders {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.email-folder {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.email-folder:hover,
.email-folder.active {
    background: var(--bg-primary);
    color: var(--accent-primary);
}

.email-folder i {
    font-size: 1.1rem;
}

.email-folder-count {
    margin-left: auto;
    background: var(--accent-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.email-list {
    flex: 1;
    overflow-y: auto;
}

.email-item {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.email-item:hover {
    background: var(--bg-primary);
}

.email-item.unread {
    background: rgba(74, 144, 226, 0.05);
    border-left: 3px solid var(--accent-primary);
}

.email-sender {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 150px;
}

.email-subject {
    flex: 1;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-preview {
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.email-time {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: auto;
}

.email-actions {
    display: flex;
    gap: 8px;
    margin-left: 12px;
}

.email-action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.email-action-btn:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
}

/* Kanban Board */
.kanban-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow-x: auto;
    min-height: 500px;
}

.kanban-column {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    max-height: 600px;
}

.kanban-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kanban-title {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.kanban-count {
    background: var(--accent-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.kanban-add-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.kanban-add-btn:hover {
    background: var(--bg-primary);
    color: var(--accent-primary);
}

.kanban-cards {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kanban-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    cursor: grab;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px var(--shadow);
}

.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

.kanban-card.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.card-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.card-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.card-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.card-assignee {
    display: flex;
    align-items: center;
    gap: 4px;
}

.assignee-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

/* Calendar */
.calendar-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

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

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-nav-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.calendar-nav-btn:hover {
    background: var(--accent-primary);
    color: white;
}

.calendar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calendar-view-toggle {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: 6px;
    padding: 2px;
}

.view-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.view-btn.active {
    background: var(--accent-primary);
    color: white;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day-header {
    background: var(--bg-tertiary);
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.calendar-day {
    background: var(--bg-primary);
    min-height: 100px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-day:hover {
    background: var(--bg-secondary);
}

.calendar-day.other-month {
    color: var(--text-muted);
    background: var(--bg-tertiary);
}

.calendar-day.today {
    background: rgba(74, 144, 226, 0.1);
    border: 2px solid var(--accent-primary);
}

.calendar-day.selected {
    background: var(--accent-primary);
    color: white;
}

.day-number {
    font-weight: 600;
    margin-bottom: 4px;
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.day-event {
    background: var(--accent-primary);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.day-event.urgent {
    background: #ef4444;
}

.day-event.important {
    background: #f59e0b;
}

/* File Manager */
.file-manager {
    display: flex;
    height: 600px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.file-sidebar {
    width: 250px;
    background: var(--bg-tertiary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.file-tree {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.file-tree-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.file-tree-item:hover {
    background: var(--bg-primary);
    color: var(--accent-primary);
}

.file-tree-item.active {
    background: var(--accent-primary);
    color: white;
}

.file-tree-item i {
    font-size: 1rem;
}

.file-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.file-toolbar {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-path {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.file-actions {
    display: flex;
    gap: 8px;
}

.file-action-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.file-action-btn:hover {
    background: var(--accent-primary);
    color: white;
}

.file-grid {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
    overflow-y: auto;
}

.file-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.file-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

.file-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.file-name {
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 500;
    word-break: break-word;
    margin-bottom: 4px;
}

.file-size {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.file-item.selected {
    background: rgba(74, 144, 226, 0.1);
    border-color: var(--accent-primary);
}

/* Enhanced Components */
.avatar {
    position: relative;
    display: inline-block;
}

.avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
}

.avatar-status.online {
    background: #22c55e;
}

.avatar-status.away {
    background: #f59e0b;
}

.avatar-status.offline {
    background: var(--text-muted);
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar-group .avatar {
    margin-left: -8px;
}

.avatar-group .avatar:first-child {
    margin-left: 0;
}

/* Carousel */
.carousel-container {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 40px;
    text-align: center;
    background: var(--bg-primary);
}

.carousel-slide h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.carousel-slide p {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: var(--accent-primary);
    color: white;
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--accent-primary);
}

/* Enhanced Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: all 0.3s ease; 
}

.dropdown-toggle:hover {
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 25px var(--shadow);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 200px;
    overflow-y: auto;
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
}

.dropdown-item i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

/* Beautiful Horizontal Nav Tabs */
.nav-tabs {
    display: flex;
    flex-direction: row;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    gap: 4px;
}

.nav-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.03), rgba(124, 58, 237, 0.03));
    pointer-events: none;
}

.nav-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    z-index: 2;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
}

.nav-tab:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-tab.active {
    color: white;
    background: var(--accent-primary);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
    transform: translateY(-1px);
    font-weight: 700;
}

.nav-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 8px;
    pointer-events: none;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-tab-content {
    display: none;
    padding: 20px 0;
}

.nav-tab-content.active {
    display: block;
}

/* Toast Notifications Enhanced */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideInRight 0.3s ease;
    position: relative;
}

.toast.success {
    border-left: 4px solid #22c55e;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.warning {
    border-left: 4px solid #f59e0b;
}

.toast.info {
    border-left: 4px solid var(--accent-primary);
}

.toast-icon {
    font-size: 1.2rem;
}

.toast.success .toast-icon {
    color: #22c55e;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast.warning .toast-icon {
    color: #f59e0b;
}

.toast.info .toast-icon {
    color: var(--accent-primary);
}

.toast-content {
    flex: 1;
}

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

.toast-message {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Beautiful Color Picker */
.color-picker-container {
    position: relative;
    display: inline-block;
}

.color-picker-trigger {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.color-picker-trigger::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;
}

.color-picker-trigger:hover::before {
    left: 100%;
}

.color-picker-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.color-picker-popup {
    position: absolute;
    top: 60px;
    left: 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(74, 144, 226, 0.05) 100%);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    z-index: 1000;
    min-width: 280px;
    animation: slideDown 0.3s ease;
}

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

.color-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.color-picker-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.color-picker-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.color-picker-close:hover {
    color: var(--accent-primary);
}

.color-picker-main {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.color-picker-saturation {
    width: 200px;
    height: 150px;
    border-radius: 12px;
    position: relative;
    cursor: crosshair;
    background: linear-gradient(to right, #fff, transparent), linear-gradient(to bottom, transparent, #000);
    box-shadow: inset 0 0 0 2px rgba(74, 144, 226, 0.3);
}

.color-picker-hue {
    width: 20px;
    height: 150px;
    border-radius: 10px;
    background: linear-gradient(to bottom, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.color-picker-hue-slider {
    position: absolute;
    left: -3px;
    width: 26px;
    height: 8px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-primary);
}

.color-picker-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.color-picker-current {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.color-picker-rgb {
    display: flex;
    gap: 10px;
}

.color-picker-input {
    width: 60px;
    padding: 8px 12px;
    border: 2px solid rgba(107, 114, 128, 0.3);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(74, 144, 226, 0.05) 100%);
    color: var(--text-primary);
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.color-picker-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

.color-picker-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.color-picker-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-picker-btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.color-picker-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.color-picker-btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.color-picker-btn-secondary:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* Miscellaneous Components */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 8px var(--shadow);
    border: 1px solid var(--border-color);
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--bg-primary);
}

.tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: rgba(74, 144, 226, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--accent-primary);
    animation: spin 1s ease-in-out infinite;
}

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

.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--border-color) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-text:last-child {
    margin-bottom: 0;
    width: 60%;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-card {
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Responsive Design for New Components */
@media (max-width: 768px) {
    .nav-user-menu {
        gap: 8px;
    }
    
    .notification-bell,
    .language-btn {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    
    .user-avatar {
        padding: 6px 8px;
    }
    
    .avatar-img {
        width: 28px;
        height: 28px;
    }
    
    .user-name {
        display: none;
    }
    
    .chat-container,
    .email-container,
    .file-manager {
        height: 500px;
    }
    
    .chat-sidebar,
    .email-sidebar,
    .file-sidebar {
        width: 200px;
    }
    
    .kanban-container {
        flex-direction: column;
        height: auto;
    }
    
    .kanban-column {
        min-width: 100%;
        max-height: 400px;
    }
    
    .calendar-container {
        padding: 15px;
    }
    
    .calendar-grid {
        font-size: 0.8rem;
    }
    
    .calendar-day {
        min-height: 60px;
        padding: 4px;
    }
    
    .file-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 12px;
    }
    
    .toast {
        min-width: 250px;
        right: 10px;
    }
    
    .carousel-slide {
        padding: 20px;
    }
    
    .dropdown-menu {
        max-height: 150px;
    }
}

/* Dark Theme Fixes for All Dropdowns and Selects */
select,
select option,
.dropdown-menu,
.dropdown-item,
.multi-select .select-dropdown,
.searchable-select .search-results,
.language-dropdown {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

/* Ensure dropdown items have proper backgrounds */
.dropdown-item,
.multi-select .select-option,
.searchable-select .search-result,
.language-option {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

.dropdown-item:hover,
.multi-select .select-option:hover,
.searchable-select .search-result:hover,
.language-option:hover {
    background: var(--bg-tertiary) !important;
    color: var(--accent-primary) !important;
}

/* Fix for native select elements in different browsers */
select {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

select option {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* Override any white backgrounds that might be set by browser defaults */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) var(--bg-tertiary);
}

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

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

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

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

/* ========================================
   MISSING CLASSES IMPLEMENTATION
   ======================================== */

/* Accordion Components */
.accordion-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.1);
}

.accordion-header {
    background: var(--bg-tertiary);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.accordion-header:hover {
    background: var(--bg-primary);
}

.accordion-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.accordion-content {
    padding: 20px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.accordion-body {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Accordion Active State - More Subtle */
.accordion-item.active {
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
}

.accordion-item.active .accordion-header {
    background: var(--accent-primary);
    color: white;
}

.accordion-item.active .accordion-content {
    background: rgba(74, 144, 226, 0.05);
    border-color: var(--accent-primary);
}

/* Activity/Logging Components */
.activity-log {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item:hover {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 12px 15px;
    margin: 0 -15px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content h5 {
    margin: 0 0 5px 0;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.activity-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.activity-ip {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

/* Form Management Classes */
.add-attribute,
.remove-attribute {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.add-attribute:hover,
.remove-attribute:hover {
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
}

.attributes-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.attribute-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.attribute-item:last-child {
    border-bottom: none;
}

.permission-category {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Form Types */
.admin-form,
.advanced-form,
.approval-form,
.customer-form,
.data-entry-form,
.export-form,
.report-form,
.workflow-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-form::before,
.advanced-form::before,
.approval-form::before,
.customer-form::before,
.data-entry-form::before,
.export-form::before,
.report-form::before,
.workflow-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-primary);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.admin-form:hover,
.advanced-form:hover,
.approval-form:hover,
.customer-form:hover,
.data-entry-form:hover,
.export-form:hover,
.report-form:hover,
.workflow-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-primary);
}

/* Workflow Components */
.workflow-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.workflow-step {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.workflow-step:hover {
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

/* Showcase Components */
.avatar-showcase,
.badge-showcase,
.color-picker-showcase,
.skeleton-showcase,
.spinner-showcase,
.misc-showcase {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.enhanced-components {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

/* Interface Sections */
.chat-interface,
.email-interface,
.kanban-board {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.file-manager-section {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

/* State Classes */
/* Removed generic .active class that was causing ugly blue backgrounds */

.online {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.offline {
    color: var(--text-muted);
    background: rgba(107, 114, 128, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.away {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.positive {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.negative {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.next,
.prev {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.next:hover,
.prev:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.other-month {
    color: var(--text-muted);
    opacity: 0.5;
}

.own { 
    color: white;
    margin-left: auto;
}

.today {
    background: var(--accent-primary);
    color: white;
    border-radius: 50%;
}

.unread {
    background: var(--accent-primary);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    padding: 2px 6px;
    font-weight: 600;
}

.urgent {
    background: #ef4444;
    color: white;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Content Classes */
.product-name,
.service-name {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.product-description,
.service-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.team-member-name {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Form Elements */
.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-item:hover,
.radio-item:hover {
    background: var(--bg-tertiary);
    border-radius: 6px;
    padding: 8px 12px;
    margin: 0 -12px;
}

.tab-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
    padding: 20px;
    margin-top: -1px;
}

.form-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.form-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

/* Other Components */
.calendar {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.custom-date-range {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.document-upload {
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.document-upload:hover {
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
}

.logo {
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.review-summary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.upload-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.upload-item:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
}

.type {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Missing RemixIcon Classes */
.ri-form-line:before {
    content: "\ea13";
}

.ri-login-line:before {
    content: "\ea14";
}