/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding-top: 0; /* Remove default padding since we use fixed navbar */
}

/* Color Variables */
:root {
    --primary-color: #0066cc;
    --secondary-color: #f8f9fa;
    --accent-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --dark-color: #343a40;
    --light-color: #ffffff;
    --border-color: #dee2e6;
    --text-muted: #6c757d;
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 70px;
    --navbar-height: 70px;
}

/* Fixed Top Navigation */
.navbar.fixed-top {
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand i {
    margin-right: 0.5rem;
    font-size: 1.75rem;
}

/* Auth buttons styling */
.auth-buttons .btn {
    margin: 0 0.25rem;
}

.user-menu .dropdown-toggle {
    border: none;
}

.user-menu .dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile navigation adjustments */
@media (max-width: 991.98px) {
    .mobile-auth-nav {
        padding: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-auth-nav .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Desktop Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), #004499);
    color: white;
    transition: all 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar:hover {
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    margin-right: 0.75rem;
    font-size: 2rem;
}

.sidebar-nav {
    list-style: none;
    padding: 1rem 0;
}

.nav-item {
    margin: 0.25rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-right: 4px solid white;
}

.nav-link i {
    margin-right: 1rem;
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.user-type {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: capitalize;
}

/* Main Content */
.main-content {
    margin-left: 0; /* Remove sidebar margin since we're using top navbar */
    min-height: 100vh;
    padding: 2rem;
    transition: margin-left 0.3s ease;
}

/* Hide sidebar on all screen sizes since we're using top navbar */
.sidebar {
    display: none;
}

@media (max-width: 991.98px) {
    .main-content {
        margin-left: 0;
        padding: 1rem;
        padding-bottom: 80px;
    }
}

/* Mobile Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0.75rem 0.5rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    height: 70px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.3s ease;
    padding: 0.5rem 0.25rem;
    border-radius: 8px;
    flex: 1;
    max-width: 80px;
    gap: 0.25rem;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--primary-color);
    background-color: rgba(0, 102, 204, 0.1);
}

.bottom-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
}

.bottom-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
    line-height: 1;
}

/* Quick Tools Grid */
.quick-tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.8rem;
}

.tool-btn i {
    font-size: 1.2rem;
}

.tool-btn span {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Post Card Styles */
.post-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
}

.post-card .card-body {
    padding: 1.5rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #004499);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.job-preview {
    background: #f8f9fa;
    border: 1px solid #e9ecef !important;
}

.job-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.job-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Settings Page Styles */
.settings-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
}

.settings-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), #004499);
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 1rem 1.5rem;
    border: none;
}

.settings-card .card-header h5 {
    margin: 0;
    font-weight: 600;
}

.settings-card .card-body {
    padding: 1.5rem;
}

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

.toast-container {
    z-index: 1055;
}

/* Notifications Page Styles */
.notification-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.notifications-list {
    max-height: 70vh;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.notification-item.unread {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
}

.notification-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.notification-header h6 {
    margin: 0;
    font-weight: 600;
}

.notification-time {
    font-size: 0.8rem;
    color: #6c757d;
}

.notification-content p {
    margin: 0 0 0.75rem 0;
    color: #495057;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
}

/* Messages Page Styles */
.messages-sidebar {
    height: 80vh;
    border-right: 1px solid #e9ecef;
    padding-right: 1rem;
}

.messages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.conversations-list {
    max-height: 60vh;
    overflow-y: auto;
}

.conversation-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.conversation-item:hover {
    background: #f8f9fa;
}

.conversation-item.active {
    background: var(--primary-color);
    color: white;
}

.conversation-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #004499);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.conversation-item.active .conversation-avatar {
    background: rgba(255, 255, 255, 0.2);
}

.conversation-content {
    flex: 1;
    position: relative;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.conversation-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
}

.conversation-time {
    font-size: 0.75rem;
    opacity: 0.7;
}

.conversation-preview {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.message-thread {
    height: 80vh;
    display: flex;
    flex-direction: column;
}

.message-thread-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    background: white;
}

.message-thread-header h5 {
    margin: 0;
    font-weight: 600;
}

.message-actions {
    display: flex;
    gap: 0.5rem;
}

.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
}

.message {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-end;
}

.message.sent {
    justify-content: flex-end;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #004499);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.message-content {
    max-width: 70%;
}

.message.sent .message-content {
    text-align: right;
}

.message-bubble {
    background: white;
    border-radius: 18px;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.25rem;
}

.message.sent .message-bubble {
    background: var(--primary-color);
    color: white;
}

.message-bubble p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.message-input-container {
    padding: 1rem;
    background: white;
    border-top: 1px solid #e9ecef;
}

.message-input-box {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.message-input-box textarea {
    flex: 1;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
    resize: none;
    max-height: 100px;
}

.message-input-actions {
    display: flex;
    gap: 0.25rem;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

/* Page Content Styles */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Cards */
.custom-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
}

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

/* Forms */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Sidebar Collapsed State */
.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar.collapsed .logo-text,
.sidebar.collapsed .nav-text {
    display: none;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 1rem;
}

.sidebar.collapsed .nav-link i {
    margin-right: 0;
}

.sidebar.collapsed .sidebar-footer {
    display: none;
}

/* Sidebar Hover Expansion */
.sidebar.collapsed:hover {
    width: var(--sidebar-width);
}

.sidebar.collapsed:hover .logo-text,
.sidebar.collapsed:hover .nav-text {
    display: inline;
}

.sidebar.collapsed:hover .nav-link {
    justify-content: flex-start;
    padding: 1rem 1.5rem;
}

.sidebar.collapsed:hover .nav-link i {
    margin-right: 1rem;
}

.sidebar.collapsed:hover .sidebar-footer {
    display: block;
}

/* Mobile Navigation Animations */
.navbar-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.bottom-nav-hidden {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #004499);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-color), #004499);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    word-wrap: break-word;
}

.message.bot {
    background-color: #f1f3f4;
    color: var(--dark-color);
    align-self: flex-start;
}

.message.user {
    background-color: var(--primary-color);
    color: white;
    align-self: flex-end;
}

.chatbot-input-container {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

.chatbot-input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.75rem 1rem;
    outline: none;
    font-size: 0.9rem;
}

.chatbot-input:focus {
    border-color: var(--primary-color);
}

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

.chatbot-send:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.chatbot-send:disabled {
    background-color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

/* Responsive Chatbot */
@media (max-width: 768px) {
    .chatbot-window {
        width: 90vw;
        height: 70vh;
        right: 5vw;
        bottom: 80px;
    }
    
    .chatbot-container {
        bottom: 90px;
    }
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

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

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
}

.chatbot-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 350px;
}

.chatbot-input-container {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.message {
    margin-bottom: 1rem;
    display: flex;
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
}

.message.bot .message-content {
    background: #f1f3f4;
    color: var(--dark-color);
}

.message.user .message-content {
    background: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-card {
        margin: 1rem;
        padding: 2rem;
    }
    
    .chatbot-window {
        width: 300px;
        height: 400px;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Profile Styles */
.profile-image-container {
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-image-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo-container {
    position: relative;
    display: inline-block;
}

.company-logo {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.logo-btn {
    position: absolute;
    bottom: -5px;
    right: -5px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-item,
.education-item {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.experience-item:hover,
.education-item:hover {
    background-color: #e9ecef;
}

/* Job Styles */
.job-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.job-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.job-salary {
    font-weight: 600;
    color: var(--accent-color);
}

.job-type-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Post Styles */
.post-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.post-author {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.post-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 0.75rem;
    object-fit: cover;
}

.post-author-info h6 {
    margin: 0;
    font-weight: 600;
}

.post-author-info small {
    color: var(--text-muted);
}

.post-actions {
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
    display: flex;
    justify-content: space-around;
}

.post-action {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-action:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.post-action.active {
    color: var(--primary-color);
    background-color: rgba(0, 102, 204, 0.1);
}

/* Tools Styles */
.tool-card {
    text-align: center;
    padding: 2rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.tool-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tool-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tool-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Subscription Styles */
.pricing-card {
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.pricing-features .fa-check {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .company-logo {
        width: 80px;
        height: 80px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .tool-card {
        margin-bottom: 1rem;
    }
}

/* Home Page Styles */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #856404;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
}

.hero-image-container {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 6s ease-in-out infinite;
    max-width: 200px;
}

.floating-card.success-story {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-card.job-alert {
    top: 50%;
    left: 5%;
    animation-delay: 2s;
}

.floating-card.network-growth {
    bottom: 15%;
    right: 20%;
    animation-delay: 4s;
}

.floating-card .card-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.floating-card .card-content h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.floating-card .card-content p {
    margin: 0;
    font-size: 0.8rem;
    color: #6c757d;
}

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

.floating-cards {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: white;
    color: #333;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

.animate-float-delay-2 {
    animation: float 6s ease-in-out infinite;
    animation-delay: 4s;
}

.floating-card.card-1 {
    top: 20px;
    left: 20px;
}

.floating-card.card-2 {
    top: 120px;
    right: 20px;
}

.floating-card.card-3 {
    bottom: 20px;
    left: 50px;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.floating-card h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: center;
}

.floating-card small {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    display: block;
}

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

.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.pricing-section {
    padding: 80px 0;
    background: white;
}

.pricing-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price {
    margin: 1rem 0;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.period {
    font-size: 1rem;
    color: #6c757d;
}

.trial-info {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.pricing-features i {
    color: #28a745;
    margin-right: 0.5rem;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quick-post-card {
    margin-bottom: 2rem;
}

.quick-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-card {
    transition: box-shadow 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.post-stats {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.post-interactions {
    display: flex;
    gap: 1rem;
}

.trending-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trending-topic {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.trending-topic:hover {
    background: #667eea;
    color: white;
}

.profile-summary-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.job-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.job-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.job-title {
    color: #667eea;
    font-size: 0.95rem;
}

/* Profile Page Styles */
.profile-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-edit-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.profile-avatar-container {
    position: relative;
    display: inline-block;
    margin-right: 1rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    margin-top: -60px;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding: 0;
}

.profile-info {
    display: flex;
    align-items: flex-start;
}

.profile-details {
    margin-top: -40px;
    padding-top: 40px;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.experience-item, .education-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.experience-item:last-child, .education-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Add Post Page Styles */
.post-type-selector .btn-check:checked + .btn {
    background-color: #667eea;
    border-color: #667eea;
    color: white;
}

.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover, .upload-area.drag-over {
    border-color: #667eea;
    background-color: #f8f9ff;
}

.upload-placeholder i {
    color: #6c757d;
}

.media-preview-item {
    display: inline-block;
    margin: 0.5rem;
    position: relative;
}

.media-preview {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
}

.media-preview img, .media-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-media {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    padding: 0;
    border-radius: 50%;
}

.visibility-options .form-check {
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.visibility-options .form-check:hover {
    background-color: #f8f9fa;
}

.preview-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Tools Page Styles */
.tool-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.tool-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.template-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    height: 100%;
}

/* Jobs Page Styles */
.page-container {
    padding: 1rem 0;
}

.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.filters-card .card-header {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-group label {
    font-weight: 600;
    color: var(--dark-color);
}

.jobs-header {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.job-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.job-title a {
    color: var(--primary-color);
    font-weight: 600;
}

.job-title a:hover {
    color: var(--dark-color);
}

.company-name {
    font-weight: 500;
}

.company-avatar, .company-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.job-meta .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

.job-meta .material-icons {
    font-size: 1rem;
    vertical-align: middle;
}

.no-jobs-found {
    background: white;
    border-radius: 8px;
    padding: 3rem;
}

.no-jobs-found .material-icons {
    font-size: 4rem;
    opacity: 0.3;
}

/* Messages Page Styles */
.messages-sidebar {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: calc(100vh - 140px);
    overflow-y: auto;
}

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

.conversation-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
}

.conversation-item:hover {
    background-color: #f8f9fa;
}

.conversation-item.active {
    background-color: var(--primary-color);
    color: white;
}

.conversation-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
}

.conversation-content {
    flex: 1;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.conversation-preview {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.unread-badge {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    min-width: 20px;
    text-align: center;
}

.message-thread {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
}

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

.messages-container {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.message {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.message.sent {
    justify-content: flex-end;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 0.75rem;
}

.message-bubble {
    background: #e9ecef;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    max-width: 70%;
}

.message.sent .message-bubble {
    background: var(--primary-color);
    color: white;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.message-input-container {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.message-input-box {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.message-input-actions {
    display: flex;
    gap: 0.5rem;
}

/* Notifications Page Styles */
.notification-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.notification-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    display: flex;
    align-items: flex-start;
}

.notification-item:hover {
    transform: translateY(-1px);
}

.notification-item.unread {
    border-left: 4px solid var(--primary-color);
    background: #f8f9ff;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

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

.notification-actions {
    margin-top: 0.75rem;
}

/* Toast Container */
#toastContainer {
    z-index: 9999;
}

/* Additional responsive styles */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
    
    .page-header {
        margin-bottom: 1rem;
    }
    
    .filters-card {
        margin-bottom: 1rem;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .messages-sidebar,
    .message-thread {
        height: calc(100vh - 180px);
    }
    
    .message-bubble {
        max-width: 85%;
    }
    
    .notification-item {
        flex-direction: column;
        text-align: center;
    }
    
    .notification-icon {
        margin: 0 auto 1rem;
    }
}
