/* Custom Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --accent-gradient: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}

/* Gradient Backgrounds */
.gradient-navbar {
    background: var(--primary-gradient);
}

.gradient-background {
    background: var(--secondary-gradient);
}

.gradient-footer {
    background: var(--primary-gradient);
}

.gradient-button {
    background: var(--accent-gradient);
    border: none;
    transition: all 0.3s ease;
}

.gradient-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Card Styles */
.card {
    transition: transform 0.3s ease;
}

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

/* Features Section */
.features .card {
    border-radius: 15px;
    overflow: hidden;
}

.features .card i {
    color: #6366f1;
}

/* Login/Register Forms */
.login-section .card,
.register-section .card {
    border-radius: 20px;
}

.form-control {
    border-radius: 10px;
    padding: 12px;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
    border-color: #6366f1;
}

/* Chat Interface */
.chat-container {
    height: calc(100vh - 130px);
    display: flex;
}

.chat-sidebar {
    width: 300px;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    /* margin-bottom: 20px; */
}

.chat-input {
    padding: 10px;
    background: #fff;
    border-top: 1px solid #dee2e6;
}

/* User List */
.user-list {
    list-style: none;
    padding: 0;
}

.user-list-item {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.user-list-item:hover {
    background-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-sidebar {
        width: 100%;
        position: fixed;
        left: -100%;
        transition: left 0.3s ease;
    }

    .chat-sidebar.active {
        left: 0;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-bottom-nav a {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
}

.mobile-bottom-nav i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

/* Offcanvas Navigation */
.offcanvas {
    width: 280px !important;
}

.offcanvas .nav-link {
    color: white !important;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

/* Add padding to main content on mobile to prevent overlap with bottom nav */
@media (max-width: 991.98px) {
    body {
        /* padding-bottom: 0px; */
        padding-bottom: 70px;
    }
}


/* Customization by Ashish */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

    html, body {
        height: 100%;
    }
    
  body {
    display: flex;
    flex-direction: column;
    margin: 0;
  }

  .content {
    flex: 1;
  }

    @media only screen and (max-width: 500px) {
        .g-recaptcha {
            transform:scale(0.77);
            transform-origin:0 0;
        }
    }