/* somaa.ai Enhanced Stylesheet - Blue Theme */

/* Variables */
:root {
    --primary-color: #0066FF;  /* Changed from purple to blue */
    --primary-dark: #0052CC;   /* Darker blue */
    --primary-light: #3385FF;  /* Lighter blue */
    --secondary-color: #6C757D;
    --accent-color: #E3F2FD;   /* Light blue accent */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #000000;
    --gray-800: #343a40;
    --gray-900: #212529;
}

/* Enhanced Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    overflow: hidden;
}
/* Add to your existing styles */

/* Message formatting */
.message-text {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.message-text p {
    margin: 0 0 10px 0;
}
/* Table formatting for AI responses */
.ai-message .table-responsive {
    margin: 15px 0;
}

.ai-message .table {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.ai-message .table th {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}
/* Markdown formatting in AI responses */
.ai-message strong {
    font-weight: 700;
    color: #ffffff;
}

.ai-message em {
    font-style: italic;
    color: #f0f4ff;
}

.ai-message code {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.ai-message u {
    text-decoration: underline;
    color: #ffffff;
}

/* Table cell formatting improvements */
.ai-message .table th strong,
.ai-message .table td strong {
    font-weight: 700;
}

.ai-message .table th code,
.ai-message .table td code {
    background-color: rgba(0, 0, 0, 0.2);
    color: inherit;
}

.ai-message .table td {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}
/* Timeline Styles */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #dee2e6;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 30px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 30px;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Feature List Styles */
.feature-list .feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-list .feature-item i {
    flex-shrink: 0;
    margin-top: 5px;
}

/* Team Cards */
.team-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: currentColor;
    color: white !important;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-marker {
        left: 10px !important;
    }
    /* Timeline Styles */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #dee2e6;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 30px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 30px;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Feature List Styles */
.feature-list .feature-item {
    display: flex;
    align-items: flex-start;
}

.feature-list .feature-item i {
    flex-shrink: 0;
    margin-top: 5px;
}

/* Team Cards */
.team-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: currentColor;
    color: white !important;
}

/* Industry Page Specific Styles */
.bg-gradient-primary {
    background: linear-gradient(45deg, #0066ff, #0052cc) !important;
}

.bg-gradient-dark {
    background: linear-gradient(45deg, #2c3e50, #34495e) !important;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-marker {
        left: 10px !important;
    }
}

/* Enhanced Cards */
.card.border-0.shadow-lg {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.card.border-0.shadow-lg:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
    transform: translateY(-2px);
}

/* Button Enhancements */
.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Navbar Dropdown Improvements */
.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.navbar .dropdown-item {
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
    background-color: #f8f9fa;
    padding-left: 25px;
}
}
.ai-message .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Responsive table improvements */
@media (max-width: 768px) {
    .ai-message .table-responsive {
        font-size: 0.8rem;
    }

    .ai-message .table th,
    .ai-message .table td {
        padding: 0.5rem 0.25rem;
    }
}
.message-text p:last-child {
    margin-bottom: 0;
}

.message-text ul,
.message-text ol {
    margin: 10px 0;
    padding-left: 20px;
}

.message-text li {
    margin: 5px 0;
}

.message-text br {
    content: "";
    display: block;
    margin: 5px 0;
}

/* AI message specific styling */
.ai-message .message-text {
    line-height: 1.6;
}

.ai-message .message-text p {
    color: white;
}

.ai-message .message-text ul,
.ai-message .message-text ol {
    color: white;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l100 100M100 0l-100 100' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    color: #e3f2fd;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.tech-stack {
    position: relative;
    z-index: 1;
    margin-top: 4rem;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tech-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Updated Button Styles for Blue Theme */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 255, 0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 255, 0.2);
}

/* Updated Navigation Bar for Blue Theme */
.navbar-custom {
    background-color: var(--primary-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 15px 0;
}

/* Update other components with blue theme */
.card-header {
    background-color: var(--primary-color);
    color: white;
}

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

.bg-primary {
    background-color: var(--primary-color) !important;
}

.pricing-header {
    background-color: var(--primary-color);
    color: white;
}

.feature-icon {
    background-color: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
}

/* Keep the rest of your existing CSS but make sure all primary color references use the new blue */

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: var(--gray-800);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--gray-900);
}

p {
    color: var(--gray-700);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

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

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

.content-wrapper {
    flex: 1;
    padding: 20px 0;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    position: relative;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    animation-delay: -1.0s;
}

@keyframes bounce {
    0%, 100% { transform: scale(0.0); }
    50% { transform: scale(1.0); }
}

/* Navigation */
.navbar-custom {
    background-color: var(--primary-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-custom .navbar-brand {
    color: white;
    font-weight: 700;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin: 0 8px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-custom .btn {
    font-weight: 500;
}

.navbar-custom .navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-custom .navbar-toggler:focus {
    box-shadow: none;
}

/* User Avatar */
.avatar-circle {
    width: 36px;
    height: 36px;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.dropdown-menu {
    border-radius: 8px;
    overflow: hidden;
}

.dropdown-user-info {
    background-color: var(--gray-100);
}

.dropdown-item {
    padding: 8px 16px;
    transition: all 0.2s ease;
}

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

.dropdown-item i {
    color: var(--primary-color);
    width: 20px;
}

/* Flash Messages */
.flash-container {
    position: fixed;
    top: 85px;
    right: 15px;
    z-index: 1050;
    max-width: 350px;
}

.flash-message {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 8px;
    animation: slide-in 0.5s ease forwards;
}

@keyframes slide-in {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(78, 42, 132, 0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(78, 42, 132, 0.2);
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.875rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 24px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    border-bottom: none;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.card-header h5 {
    margin-bottom: 0;
    color: white;
}

.card-body {
    padding: 20px;
}

.card-footer {
    background-color: #fff;
    border-top: 1px solid var(--gray-200);
    padding: 15px 20px;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 40px 20px;
    height: 100%;
}

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

/* Stat Cards */
.stat-card {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    height: 100%;
}

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

/* Forms */
.form-control, .form-select {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 42, 132, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.form-text {
    color: var(--gray-600);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Auth Forms */
.auth-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.auth-form .card-header {
    border-radius: 16px 16px 0 0;
}

.auth-form .form-control {
    padding: 12px 15px;
}

.auth-form .btn {
    padding: 12px;
}

.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gray-300);
}

.auth-separator span {
    padding: 0 15px;
    color: var(--gray-600);
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.social-login-btn.google {
    background-color: #fff;
    color: #757575;
    border: 1px solid #ddd;
}

.social-login-btn.google:hover {
    background-color: #f1f1f1;
}

.social-login-btn i {
    margin-right: 10px;
    font-size: 18px;
}

/* AI Service */
.ai-input {
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.ai-input:focus-within {
    box-shadow: 0 0 0 0.2rem rgba(78, 42, 132, 0.25);
}

.ai-response {
    background-color: var(--accent-color);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
}

.ai-typing {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.typing-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin: 0 3px;
    animation: typing 1.5s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

/* Persona Cards */
.persona-card {
    border-left: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.persona-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(78, 42, 132, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: 0;
}

.persona-card .card-body {
    position: relative;
    z-index: 1;
}

.persona-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Pricing Tables */
.pricing-card {
    text-align: center;
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.pricing-card:hover {
    transform: scale(1.05);
    z-index: 2;
}

.pricing-header {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 20px;
    border-radius: 16px 16px 0 0;
}

.pricing-header h3 {
    margin-bottom: 0;
    color: white;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
}

.pricing-period {
    font-size: 1rem;
    color: var(--gray-600);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--success-color);
    margin-right: 10px;
}

.pricing-features i.text-muted {
    color: var(--gray-400);
}

.pricing-footer {
    padding: 20px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-desc {
    color: var(--gray-400);
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

/* Footer (continued) */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-divider {
    margin: 30px 0;
    border-color: var(--gray-700);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-500);
}

.copyright {
    margin-bottom: 0;
}

.footer-lang-switch {
    display: flex;
    align-items: center;
}

.footer-lang-select {
    background-color: transparent;
    border: 1px solid var(--gray-700);
    color: var(--gray-400);
    border-radius: 4px;
    padding: 5px 10px;
    margin-left: 10px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
}

/* Dashboard */
.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-nav {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.dashboard-nav .nav-link {
    padding: 15px;
    color: var(--gray-700);
    border-radius: 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.dashboard-nav .nav-link.active,
.dashboard-nav .nav-link:hover {
    color: var(--primary-color);
    background-color: var(--accent-color);
    border-bottom-color: var(--primary-color);
}

.dashboard-nav .nav-link i {
    margin-right: 10px;
}

/* Activity Feed */
.activity-feed {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-item {
    position: relative;
    padding-left: 30px;
    padding-bottom: 20px;
    border-left: 2px solid var(--gray-300);
    margin-left: 15px;
}

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

.activity-icon {
    position: absolute;
    left: -17px;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-content {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.activity-time {
    color: var(--gray-600);
    font-size: 0.85rem;
}

/* Table Styles */
.custom-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.custom-table th,
.custom-table td {
    padding: 15px;
    vertical-align: middle;
}

.custom-table thead th {
    background-color: var(--accent-color);
    color: var(--gray-800);
    font-weight: 600;
    border-bottom: none;
}

.custom-table tbody tr {
    transition: all 0.2s ease;
}

.custom-table tbody tr:hover {
    background-color: rgba(228, 224, 238, 0.3);
}

.custom-table tbody tr:not(:last-child) {
    border-bottom: 1px solid var(--gray-200);
}

/* Badges */
.badge {
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge i {
    margin-right: 5px;
}

.status-badge.success {
    background-color: rgba(40, 167, 69, 0.15);
    color: var(--success-color);
}

.status-badge.warning {
    background-color: rgba(255, 193, 7, 0.15);
    color: var(--warning-color);
}

.status-badge.danger {
    background-color: rgba(220, 53, 69, 0.15);
    color: var(--danger-color);
}

.status-badge.info {
    background-color: rgba(23, 162, 184, 0.15);
    color: var(--info-color);
}

/* Progress Bars */
.custom-progress {
    height: 8px;
    border-radius: 4px;
    background-color: var(--gray-200);
    margin-bottom: 10px;
}

.custom-progress-bar {
    height: 100%;
    border-radius: 4px;
    background-color: var(--primary-color);
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: 500;
}

/* Rating System */
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    width: 30px;
    height: 30px;
    margin: 0 5px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" fill="%23d3d3d3"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    transition: all 0.2s ease;
}

.rating input:checked ~ label,
.rating label:hover,
.rating input:checked + label:hover,
.rating input:checked ~ label:hover,
.rating label:hover ~ input:checked ~ label {
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" fill="%234E2A84"/></svg>');
    transform: scale(1.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

/* Animations */
.animated-element {
    animation-duration: 1s;
    animation-fill-mode: both;
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in {
    animation-name: fadeIn;
}

.fade-in-up {
    animation-name: fadeInUp;
}

.fade-in-left {
    animation-name: fadeInLeft;
}

.fade-in-right {
    animation-name: fadeInRight;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-200);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .navbar-custom {
        padding: 10px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .navbar-custom .nav-link {
        margin: 5px 0;
    }

    .hero-section {
        padding: 80px 0;
    }

    .hero-image {
        margin-top: 40px;
    }

    .pricing-card:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-lang-switch {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .auth-form {
        padding: 20px;
    }

    .card-body {
        padding: 15px;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
    }
}