/* ================================================================
 1.  TRANSFOLOOP UPDATED HEADER NAVIGATION CSS (V 1.6)
   ================================================================ */

.main-navbar {
    background: #0e2a47;
    height: 70px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid #1a73e8;
}

.nav-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    flex-shrink: 0;
}
.logo i { color: #00cba9; font-size: 24px; } /* Updated to brand green */

/* Desktop Navigation */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    margin-left: 30px;
}

.nav-main-items {
    display: flex;
    gap: 18px;
}

.nav-main-items a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: 0.3s;
    padding: 23px 0; /* Vertical center alignment */
    border-bottom: 3px solid transparent;
}

.nav-main-items a:hover, .nav-main-items a.active {
    color: #fff;
    border-bottom: 3px solid #00cba9; /* Brand highlight color */
}

/* New: Post Enquiry Button (Standout Style) */
.btn-post-rfq {
    background: #ff9800; /* Industrial Orange */
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 6px;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    border: none !important;
}

.btn-post-rfq:hover {
    background: #f57c00;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Auth & Icons Group */
.nav-auth-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icons-group {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.nav-icon-link, .notif-icon {
    color: rgba(255,255,255,0.7);
    font-size: 19px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.nav-icon-link:hover, .notif-icon:hover { color: #00cba9; }

/* Notification Badge */
.notif-wrapper { position: relative; }
.notif-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4d4d;
    color: white;
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 50%;
    font-weight: bold;
    border: 1.5px solid #0e2a47;
}

/* Notification Dropdown */
.notif-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: none;
    z-index: 1001;
    overflow: hidden;
}
.notif-dropdown.show { display: block; }
.notif-header { padding: 12px; background: #f8f9fa; font-weight: bold; border-bottom: 1px solid #eee; color: #333; }
.notif-scroll { max-height: 350px; overflow-y: auto; }
.notif-item { display: block; padding: 12px; border-bottom: 1px solid #f0f0f0; text-decoration: none; color: #444; font-size: 13px; }
.notif-item:hover { background: #f0f7ff; }

/* Dashboard & Login/Join Buttons */
.nav-dash-btn { padding: 8px 18px !important; font-size: 13px !important; font-weight: 700 !important; }
.logout-btn { color: #ff8d8d; font-size: 17px; margin-left: 5px; transition: 0.3s; }
.logout-btn:hover { color: #ff4d4d; }
.nav-login { color: white; text-decoration: none; font-size: 14px; font-weight: 600; margin-right: 10px; }

/* Mobile View Adjustments */
.menu-icon { display: none; color: white; font-size: 24px; cursor: pointer; }

@media (max-width: 1100px) {
    .nav-main-items { gap: 10px; }
    .nav-main-items a { font-size: 12.5px; }
}

@media (max-width: 992px) {
    .menu-icon { display: block; order: 3; }
    .logo { order: 1; }
    .nav-links {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #0e2a47;
        flex-direction: column;
        margin: 0;
        padding: 30px;
        transition: 0.4s;
        justify-content: flex-start;
        align-items: center;
        gap: 25px;
        z-index: 999;
    }
    .nav-links.active { left: 0; }
    .nav-main-items { flex-direction: column; width: 100%; text-align: center; }
    .nav-main-items a { font-size: 18px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
    .nav-auth-group { flex-direction: column; width: 100%; align-items: center; gap: 20px; }
    .nav-icons-group { border: none; padding: 0; margin-bottom: 10px; }
    .btn-post-rfq { width: 100%; justify-content: center; padding: 12px !important; font-size: 16px !important; }
}

    /*=========================================
  2.     MAIN FOOTER FINAL STYLING
         ========================================= */
.main-footer {
    background: #0e2a47;
    color: #ffffff;
    padding: 70px 0 0 0;
    margin-top: 80px;
    border-top: 5px solid #1a73e8;
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px 50px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

/* Brand Section */
.footer-logo {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}
.footer-logo i { color: #1a73e8; }

.footer-tagline {
    color: #b0c4de;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}
.footer-social a:hover {
    background: #1a73e8;
    transform: translateY(-3px);
}

/* Headings & Lists */
.footer-heading {
    color: #1a73e8;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-list {
    list-style: none;
    padding: 0;
}
.footer-list li {
    margin-bottom: 12px;
}
.footer-list a {
    color: #b0c4de;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}
.footer-list a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Contact Section */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b0c4de;
    font-size: 14px;
    margin-bottom: 15px;
}
.contact-item i { color: #1a73e8; }

.support-badge {
    display: inline-block;
    background: rgba(26, 115, 232, 0.1);
    color: #1a73e8;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: #0a1f35;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6a7c92;
    font-size: 13px;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-social { justify-content: center; }
    .contact-item { justify-content: center; }
    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* =========================================
   3.  INDEX HOMEPAGE & SLIDER STYLES (Added)
   ========================================= */

/* --- Hero Section --- */
.hero-section-home {
    background: #1c2b39; /* Dark Navy */
    color: white;
    text-align: center;
    padding: 100px 20px;
}
.hero-content-home {
    max-width: 800px;
    margin: 0 auto;
}
.hero-content-home h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
}
.hero-content-home p {
    font-size: 18px;
    color: #b0c4de;
    margin: 0 auto 40px auto;
}

/* --- Feature Grid --- */
.feature-grid-wrapper {
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}
.feature-card {
    background: white;
    padding: 30px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    transition: box-shadow 0.3s;
}
.feature-card:hover {
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.15);
}
.feature-icon-lg {
    font-size: 40px;
}
.feature-title {
    color: #0e2a47;
    margin-top: 15px;
}
.feature-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* --- Slider Containers --- */
.slider-wrapper-section {
    padding-bottom: 20px;
}
.testimonial-section-wrapper {
    background: #f4f6f8;
    padding-bottom: 50px;
    margin-top: 50px;
    padding-top: 20px;
}

.section-title-home { 
    text-align: center; 
    margin-top: 60px; 
    color: #0e2a47; 
    font-size: 32px; 
    font-weight: bold;
    margin-bottom: 10px;
}
.sub-title-home { 
    text-align: center; 
    color: #666; 
    margin-bottom: 30px; 
}

/* Slider Scroll */
.slider-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    max-width: 1200px;
    margin: 0 auto;
}
/* Webkit Scrollbar Styling (Cross-browser) */
.slider-container::-webkit-scrollbar { height: 6px; }
.slider-container::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.slider-container::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
.slider-container::-webkit-scrollbar-thumb:hover { background: #aaa; }


/* Slider Card */
.slide-card {
    min-width: 280px;
    max-width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 25px;
    text-align: center;
    scroll-snap-align: start;
    border: 1px solid #eee;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.slide-card:hover { transform: translateY(-5px); border-color: #1a73e8; box-shadow: 0 10px 20px rgba(0,0,0,0.12); }

.slide-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #f8f9fa;
}

.slide-name { margin: 5px 0; font-size: 18px; color: #333; }
.slide-badge { font-size: 13px; margin-bottom: 5px; font-weight: 600; }
.slide-headline { color: #666; font-size: 13px; height: 40px; overflow: hidden; margin-bottom:15px; }

/* Tag Colors */
.tag-blue { color: #1a73e8; }
.tag-orange { color: #e67e22; }

/* Profile Link & Button */
.profile-link { text-decoration: none; color: inherit; display: block; }
.profile-link:hover .slide-name { color: #1a73e8 !important; }

.btn-slider { 
    display: block; 
    text-decoration: none; 
    padding: 8px 15px; 
    font-size: 13px; 
    margin-top: auto; /* Push button to bottom */
}

/* Testimonial specific */
.testimonial-card { 
    min-width: 350px; 
    max-width: 350px;
    text-align: left; 
    border-left: 5px solid #00cba9; /* Accent Color */
}
.quote-icon { 
    font-size: 30px; 
    color: #00cba9; 
    margin-bottom: 10px; 
}
.quote-text {
    font-size: 15px; 
    line-height: 1.6; 
    font-style: italic; 
    min-height: 80px; 
    margin-bottom: 20px;
    color: #444;
}
.testimonial-meta { 
    border-top: 1px solid #eee; 
    padding-top: 15px; 
    display:flex; 
    align-items:center; 
    gap:10px;
}
.testimonial-avatar {
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    object-fit: cover;
    margin-bottom: 0;
}
.testimonial-name { margin: 0; font-size: 14px; color: #0e2a47; }
.testimonial-designation { font-size: 12px; color: #777; }

.text-center { text-align: center; }

/* Responsive Adjustments */
@media (max-width: 480px) {
    .hero-content-home h1 {
        font-size: 32px;
    }
    .feature-card {
        width: 100%;
    }
    .slide-card, .testimonial-card {
        min-width: 90%;
    }
}

/* =========================================
   4. FEED PAGE & POST STYLES (UPDATED FIX)
   ========================================= */

/* Main Page Layout - 3 Columns Fix */
.feed-container {
    max-width: 1128px; /* Standard Professional Width */
    margin: 30px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 225px 1fr 300px; /* Left, Middle, Right proportions */
    gap: 24px;
    align-items: start;
}

/* Common Feed Card Styling */
.feed-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 12px;
    border: none;
    overflow: hidden;
}

/* --- LEFT SIDEBAR (Profile Summary) --- */
.profile-summary-widget {
    text-align: center;
    padding-bottom: 15px;
}
.summary-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    transition: transform 0.2s;
}
.summary-name {
    font-size: 16px;
    font-weight: 600;
    color: #0e2a47;
    margin: 5px 0;
}
.summary-headline {
    font-size: 12px;
    color: #666;
    padding: 0 10px;
    margin-bottom: 15px;
    line-height: 1.4;
}
.summary-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}
.stat-value { color: #1a73e8; }
.summary-link {
    display: block;
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    color: #1a73e8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

/* --- MIDDLE CONTENT (Post Area) --- */
.post-input-area {
    padding: 16px;
}
.post-input-flex {
    display: flex;
    gap: 12px;
    align-items: center;
}
.post-input-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.post-textarea {
    flex: 1;
    border: 1px solid #dcdcdc;
    border-radius: 35px; /* Pill shape like LinkedIn */
    padding: 12px 20px;
    font-size: 14px;
    background: #f9fafb;
    resize: none;
    outline: none;
}
.post-textarea:hover { background: #ebebeb; }

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* --- POST ITEM STYLING --- */
.post-header {
    padding: 12px 16px;
    display: flex;
    gap: 12px;
}
.post-header-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.post-author-info { display: flex; flex-direction: column; }
.post-author {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}
.post-meta-details { font-size: 12px; color: #666; }

.post-content {
    padding: 4px 16px 15px 16px;
    font-size: 14px;
    color: rgba(0,0,0,0.9);
}

.post-footer {
    display: flex;
    padding: 4px 12px;
    border-top: 1px solid #f0f0f0;
}
.action-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
}
.action-btn:hover { background: #f3f3f3; }
.action-btn.liked { color: #1a73e8; }

/* --- RIGHT SIDEBAR --- */
.suggestion-widget { padding: 12px; }
.widget-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.widget-header h3 { font-size: 16px; color: #333; }

.suggestion-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}
.suggestion-avatar { width: 48px; height: 48px; border-radius: 50%; }
.suggestion-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

/* Responsive Fix for Tablets/Mobile */
@media (max-width: 992px) {
    .feed-container { grid-template-columns: 1fr; }
    .feed-sidebar-left, .feed-sidebar-right { display: none; }
}

/* ==========================================
   5. NETWORK STYLE
   ========================================== */

.network-page-wrapper {
    padding: 30px 0;
}

/* Header Sections */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0e2a47; /* Industrial Navy */
    display: flex;
    align-items: center;
    gap: 10px;
}

.find-link {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.find-link:hover { text-decoration: underline; }

/* Grid Layout Fix */
.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* Professional Connection Card */
.net-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.net-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Banner & Image Position */
.card-banner {
    height: 70px;
    background: linear-gradient(135deg, #0e2a47 0%, #1a73e8 100%);
}

.card-content {
    padding: 0 15px 20px 15px;
    margin-top: -45px; /* Pull profile pic up */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.net-card-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    object-fit: cover;
    background: #fff;
    margin: 0 auto 12px;
}

.net-card-name {
    display: block;
    font-weight: 700;
    color: #191919;
    font-size: 1.05rem;
    text-decoration: none;
    margin-bottom: 5px;
}

.net-card-name:hover { color: #1a73e8; }

.net-card-headline {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
    height: 38px; /* Fixed height for alignment */
    overflow: hidden;
}

/* Actions Fix */
.req-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
}

.btn-connect, .btn-connect-outline {
    flex: 1;
    padding: 8px 0;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    text-decoration: none;
    transition: 0.2s;
    cursor: pointer;
}

.btn-connect {
    background: #1a73e8;
    color: #fff;
    border: 1px solid #1a73e8;
}

.btn-connect:hover { background: #0e5ae4; }

.btn-connect-outline {
    background: #fff;
    color: #1a73e8;
    border: 1px solid #1a73e8;
}

.btn-connect-outline:hover { background: #f0f7ff; }

.btn-ignore {
    padding: 8px 12px;
    border-radius: 20px;
    background: #f3f3f3;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
}

/* Empty State Fix */
.empty-state {
    grid-column: 1 / -1;
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    border: 2px dashed #ddd;
    text-align: center;
    color: #888;
}

.empty-state i { font-size: 3rem; margin-bottom: 15px; opacity: 0.3; }

/* Responsive adjustments */
@media (max-width: 600px) {
    .network-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
/* =========================================
   5.  MARKETPLACE
   ========================================= */

.market-header {
    background: linear-gradient(135deg, #0e2a47 0%, #004085 100%);
    padding: 60px 20px 80px 20px;
    text-align: center;
    color: white;
    border-radius: 0 0 30px 30px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.market-title { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.market-subtitle { opacity: 0.85; font-size: 16px; margin-bottom: 30px; }

/* Enhanced Search Box */
.search-box {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    background: white;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}
.search-icon-inside { position: absolute; left: 25px; top: 18px; color: #999; }
.search-input {
    flex: 1; border: none; padding: 12px 20px 12px 50px;
    border-radius: 50px; outline: none; font-size: 16px; color: #333;
}
.search-btn {
    background: #1a73e8; color: white; border: none;
    padding: 10px 30px; border-radius: 50px; cursor: pointer;
    font-weight: 700; transition: 0.3s;
}
.search-btn:hover { background: #000; }

/* Category Tags with Icons */
.category-scroll {
    display: flex; gap: 12px; justify-content: center;
    margin-top: 30px; flex-wrap: wrap;
}
.cat-tag {
    background: rgba(255,255,255,0.15); color: white;
    padding: 8px 20px; border-radius: 50px; text-decoration: none;
    font-size: 14px; transition: 0.3s; border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; gap: 8px;
}
.cat-tag:hover, .cat-tag.active { 
    background: white; color: #0e2a47; font-weight: 700; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Listing Header */
.market-list-container {
    max-width: 1200px; margin: 40px auto 20px;
    display: flex; justify-content: space-between; align-items: center; padding: 0 20px;
}
.list-heading { color: #0e2a47; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.btn-sell-modern {
    background: #28a745; color: white; padding: 10px 20px;
    border-radius: 8px; text-decoration: none; font-weight: 700;
}

/* Product Card depth */
.product-card {
    background: white; border-radius: 15px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid #eef2f6;
    transition: 0.3s ease; position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.category-overlay {
    position: absolute; top: 10px; right: 10px;
    background: rgba(0, 64, 133, 0.85); color: white;
    font-size: 10px; padding: 4px 10px; border-radius: 20px; font-weight: 700;
}

.prod-price { font-size: 22px; color: #004085; font-weight: 800; margin: 10px 0; }
.price-unit { font-size: 12px; color: #999; font-weight: 400; }

.seller-info-box {
    background: #f8fafc; padding: 10px; border-radius: 8px;
    font-size: 13px; color: #555; display: flex; align-items: center; gap: 8px;
}

.btn-view-details {
    display: block; width: 100%; text-align: center;
    background: #eef6ff; color: #1a73e8; padding: 12px;
    border-radius: 8px; margin-top: 15px; font-weight: 700;
    text-decoration: none; border: 1px solid #1a73e8; transition: 0.3s;
}
.btn-view-details:hover { background: #1a73e8; color: white; }

/* Empty State Pro Fix */
.market-empty-state-pro {
    grid-column: 1 / -1; text-align: center; padding: 80px 20px;
    background: #f8fafc; border: 2px dashed #cbd5e1; border-radius: 20px;
}
.empty-icon-wrap {
    font-size: 60px; color: #cbd5e1; margin-bottom: 20px;
}

/* =========================================
   0. GLOBAL FOUNDATION (Fixes Broken Layout)
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: #f4f6f8;
    color: #333;
    line-height: 1.6;
}

/* Page Alignment */
.nav-container, .res-container, .jobs-container, .profile-wrapper, .dash-container, .feed-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Fix */
.main-navbar {
    background: #0e2a47;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: #b0c4de;
    font-size: 15px;
    font-weight: 500;
}

.nav-links a:hover {
    color: white;
}

/* Reusable Components */
.btn-primary {
    background: #1a73e8;
    color: white !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Yahan se aapka mehnat wala CSS shuru hoga... (Categories 23 onwards) */
/* =========================================
   1. ABOUT PAGE SPECIFIC STYLES (Added)
   ========================================= */

/* Hero Alignment */
.about-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Mission Section Refinements */
.mission-block {
    margin-bottom: 30px;
}
.mission-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mission-img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.mission-img:hover {
    transform: scale(1.02);
}

/* Section Titles (Values & CTA) */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    color: #0e2a47;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}
.section-title p {
    color: #666;
    font-size: 18px;
}

/* CTA Section Specifics */
.cta-section {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}
.cta-content h2 {
    color: #0e2a47;
    font-size: 36px;
    margin-bottom: 20px;
}
.cta-content p {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Large Button */
.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 50px; /* Modern Pill Shape */
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}
.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.4);
}

/* =========================================
   2. FORMS & UPLOADS (Added for Add Product/Job)
   ========================================= */

.small-header {
    padding: 40px 20px;
    margin-bottom: 0;
}

.form-wrapper {
    background: #f4f6f8;
    padding: 40px 20px;
    min-height: 80vh;
    display: flex;
    justify-content: center;
}

.form-card {
    background: white;
    width: 100%;
    max-width: 600px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
}

.form-title {
    margin-top: 0;
    color: #0e2a47;
    border-bottom: 2px solid #f4f6f8;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 22px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: 0.3s;
}

.form-input:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

/* Input with Icon */
.input-icon-wrap {
    position: relative;
}
.input-icon-wrap .form-input {
    padding-left: 40px;
}
.input-icon {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #999;
}

/* File Upload Styling */
.file-upload-box {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    transition: 0.3s;
    background: #fafafa;
}
.file-upload-box:hover {
    border-color: #1a73e8;
    background: #f0f8ff;
}
.file-input-hidden {
    display: none;
}
.file-label {
    cursor: pointer;
    color: #555;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.file-label i {
    font-size: 24px;
    color: #1a73e8;
}

/* Alerts */
.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 10px;
}

/* =========================================
   3. FORUM & ASK PAGE STYLES (Added)
   ========================================= */

/* Select Dropdown Styling */
.form-select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
    appearance: none; /* Hide default arrow */
    -webkit-appearance: none;
    cursor: pointer;
    background-color: #fff;
}

.form-select:focus {
    border-color: #1a73e8;
}

/* Helper Text in Forms */
.form-group p {
    font-size: 12px;
    color: #6c757d;
    margin-top: -5px;
    margin-bottom: 8px;
}

/* Hover Effect for Form Card */
.form-card {
    transition: transform 0.3s ease-in-out;
}
.form-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ================================================================
   4. PROFESSIONAL CHAT (MODERN DEPTH & REAL-TIME UI)
   ================================================================ */

.chat-main-wrapper {
    background: #f0f2f5;
    padding: 30px 0;
    min-height: calc(100vh - 70px);
    display: flex;
    justify-content: center;
}

.chat-container-pro {
    width: 95%;
    max-width: 1100px;
    height: 700px;
    background: #ffffff;
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* --- Sidebar --- */
.chat-sidebar {
    width: 320px;
    border-right: 1px solid #e1e8ed;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #f0f2f5;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 700;
}

/* User List Styling */
.user-item {
    display: flex;
    padding: 15px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f8f9fa;
    transition: 0.2s;
}

.user-item:hover { background: #f5f8ff; }
.user-item.active-chat { 
    background: #eef6ff; 
    border-left: 5px solid var(--secondary-blue); 
}

.avatar-container { position: relative; margin-right: 15px; }
.u-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.online-dot {
    position: absolute; bottom: 2px; right: 2px;
    width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff;
}

.u-name { font-weight: 600; font-size: 14px; color: #333; }
.u-head { font-size: 11px; color: #777; margin-top: 2px; }

/* --- Chat Area --- */
.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f7f9fb;
    position: relative;
}

.chat-bg-pattern {
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-opacity: 0.05;
}

.chat-header-pro {
    padding: 15px 25px;
    background: #fff;
    border-bottom: 1px solid #e1e8ed;
    z-index: 10;
}

.header-user-flex { display: flex; align-items: center; gap: 15px; }
.header-avatar { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #eee; }
.header-name { font-weight: 700; color: #333; font-size: 16px; }
.header-status { font-size: 12px; font-weight: 500; }

/* Message Bubbles Fix */
.messages-area {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msg-row { display: flex; width: 100%; margin-bottom: 5px; }
.msg-sent { justify-content: flex-end; }
.msg-received { justify-content: flex-start; }

.msg-bubble {
    max-width: 65%;
    padding: 12px 18px;
    font-size: 14px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.msg-sent .msg-bubble {
    background: #dcf8c6;
    color: #333;
    border-radius: 15px 15px 0 15px;
}

.msg-received .msg-bubble {
    background: #ffffff;
    color: #333;
    border-radius: 15px 15px 15px 0;
}

.msg-meta {
    display: block;
    font-size: 10px;
    margin-top: 5px;
    text-align: right;
    opacity: 0.6;
}

/* Input Box */
.chat-input-box {
    padding: 20px 25px;
    background: #fff;
    border-top: 1px solid #e1e8ed;
}

#chatForm { display: flex; gap: 15px; align-items: center; }
#msg_input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid #e1e8ed;
    background: #f8fafc;
    font-size: 14px;
    outline: none;
}

.msg-send-btn {
    background: var(--secondary-blue);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.msg-send-btn:hover { background: var(--primary-blue); transform: scale(1.05); }

/* Empty Screen */
.empty-chat-screen {
    flex: 1; display: flex; flex-direction: column; 
    justify-content: center; align-items: center; text-align: center;
}
.welcome-graphic-circle {
    width: 80px; height: 80px; background: #eef6ff; 
    border-radius: 50%; display: flex; justify-content: center; 
    align-items: center; font-size: 30px; color: var(--secondary-blue);
    margin-bottom: 20px;
}
/* =========================================
   5. CONTACT PAGE LAYOUT (Added)
   ========================================= */

.contact-hero {
    text-align: center;
    padding: 60px 20px;
    background: #f4f6f8;
}
.contact-hero h1 {
    color: #0e2a47;
    margin-bottom: 10px;
    font-size: 36px;
}
.contact-hero p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper {
    max-width: 1000px;
    margin: -30px auto 50px auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.contact-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    overflow: hidden;
}

/* Left Form Section */
.contact-form-sec {
    padding: 40px;
}
.contact-form-sec h2 {
    margin-top: 0;
    color: #0e2a47;
    margin-bottom: 25px;
}

/* Right Info Section */
.contact-info-sec {
    background: #0e2a47;
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1a73e8; /* Accent Color */
    flex-shrink: 0;
}

.info-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}
.info-content p {
    margin: 0;
    color: #b0c4de;
    font-size: 14px;
    line-height: 1.5;
}

/* Map */
.map-container {
    margin-top: auto;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-card {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        margin-top: 20px;
    }
}

/* =========================================
   6. Copyrights LEGAL PAGE HIGHLIGHTS (Added) 
   ========================================= */

/* Highlight Box for Legal Info */
.highlight-box {
    background: #f4f6f8;
    padding: 20px;
    border-left: 4px solid #1a73e8;
    margin: 20px 0;
    font-size: 15px;
    border-radius: 4px;
    color: #333;
}

/* Typography for Legal Content */
.legal-card h3 {
    color: #0e2a47;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-card ul {
    padding-left: 20px;
    list-style-type: disc;
    margin-bottom: 20px;
}

.legal-card li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.last-updated {
    font-size: 13px;
    color: #999;
    font-style: italic;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

/* =========================================
   7. ANNOUNCEMENT / ADVERTISEMENT PAGE (Added)
   ========================================= */

.announce-container {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.announce-header {
    background: #fdf2e9; /* Light Orange */
    padding: 30px;
    text-align: center;
    border-bottom: 2px solid #fbceb1;
}

.announce-header h1 {
    color: #d35400; /* Dark Orange */
    margin: 0 0 10px 0;
}

.announce-header p {
    color: #666;
    margin: 0 0 15px 0;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #ffeeba;
}

.announce-form {
    padding: 40px;
}

/* Orange Button Variant */
.btn-orange {
    background: #e67e22;
    border: none;
}
.btn-orange:hover {
    background: #d35400;
}

/* Success Box Specific */
.success-message-box {
    text-align: center;
    padding: 40px;
    background: #f0fff4;
    color: #2f855a;
}
.success-message-box i {
    font-size: 50px;
    margin-bottom: 20px;
    color: #48bb78;
}

/* Access Denied Box */
.access-denied-box {
    max-width: 500px;
    margin: 100px auto;
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.access-denied-box i {
    font-size: 40px;
    color: #e74c3c;
    margin-bottom: 20px;
}


/* =========================================
   8. PROFESSIONAL DASHBOARD (FIXED)
   ========================================= */

.dashboard-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

/* Hero Banner Styling */
.dash-hero-banner {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eef0f2;
    margin-bottom: 25px;
}

.hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.user-meta-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-container {
    position: relative;
    width: 90px;
    height: 90px;
}

.avatar-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a73e8;
}

.avatar-edit-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    color: #1a73e8;
    font-size: 12px;
}

.user-welcome h1 { font-size: 24px; color: #0e2a47; margin: 0; }
.user-headline { color: #64748b; font-size: 14px; margin: 5px 0; }
.user-badge {
    background: #eef6ff;
    color: #1a73e8;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
}

/* Profile Strength Meter */
.strength-card { width: 250px; }
.strength-info { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.strength-bar-bg { background: #f0f2f5; height: 8px; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.strength-bar-fill { height: 100%; border-radius: 10px; transition: 0.5s; }
.strength-bar-fill.st-low { background: #ff4d4d; }
.strength-bar-fill.st-mid { background: #ffa500; }
.strength-bar-fill.st-high { background: #28a745; }
.improve-link { font-size: 12px; color: #1a73e8; text-decoration: none; font-weight: 600; }

/* Main Dashboard Grid */
.dash-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

/* Mini Cards Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.stat-mini-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #eef0f2;
}

.stat-icon-box {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.stat-icon-box.blue { background: #eef6ff; color: #1a73e8; }
.stat-icon-box.green { background: #e6f7e9; color: #28a745; }
.stat-icon-box.orange { background: #fff4e6; color: #ff8c00; }

.stat-val-box h3 { font-size: 20px; margin: 0; color: #0e2a47; }
.stat-val-box p { font-size: 12px; color: #64748b; margin: 0; }

/* Content Cards */
.content-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    margin-bottom: 20px;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eef0f2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 { font-size: 16px; margin: 0; color: #0e2a47; }
.btn-text { font-size: 13px; color: #1a73e8; text-decoration: none; font-weight: 600; }

/* Discussion & Market Items */
.feed-item, .discussion-item {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f8fafc;
    text-decoration: none;
    color: inherit;
}
.discussion-item:hover { background: #f8fafc; }
.feed-info h4, .disc-text h4 { font-size: 14px; margin: 0 0 5px 0; color: #333; }
.feed-info p, .disc-text span { font-size: 12px; color: #64748b; margin: 0; }

/* Sidebar Area */
.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eef0f2;
    margin-bottom: 20px;
}

.sidebar-title { font-size: 15px; margin-bottom: 15px; color: #0e2a47; font-weight: 700; }

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    border-radius: 8px;
    margin-bottom: 5px;
}
.nav-item:hover { background: #f3f4f6; color: #1a73e8; }
.nav-item.admin { background: #fff0f0; color: #d32f2f; }

/* Trending Widget */
.widget-item { margin-bottom: 15px; border-bottom: 1px dashed #eee; padding-bottom: 10px; }
.widget-item small { color: #1a73e8; font-weight: 600; font-size: 11px; }
.widget-item a { display: block; font-size: 13px; color: #333; text-decoration: none; margin-top: 5px; }

/* Responsive Fix */
@media (max-width: 768px) {
    .dash-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
    .hero-flex { justify-content: center; text-align: center; }
    .user-meta-box { flex-direction: column; }
}

/* =========================================
   30. MODERN DASHBOARD LAYOUT (UPDATED)
   ========================================= */

.dashboard-wrapper {
    max-width: 1140px;
    margin: 25px auto;
    padding: 0 15px;
}

.dash-hero-banner {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.hero-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }

/* Stats Mini Cards Fix */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-mini-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.stat-icon-box {
    width: 45px; height: 45px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.stat-icon-box.blue { background: #eef6ff; color: #1a73e8; }
.stat-icon-box.green { background: #e6f7e9; color: #28a745; }
.stat-icon-box.orange { background: #fff8e1; color: #e67e22; }

/* Mass Announcement Special Button */
.orange-btn-special {
    background: #e67e22 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px !important;
    border-radius: 8px !important;
    text-align: center;
    margin: 10px 0;
    transition: 0.3s;
}

.orange-btn-special:hover {
    background: #d35400 !important;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

/* Sidebar Connections Grid */
.avatar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.mini-avatar {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #eee;
}

/* User Badge */
.user-badge {
    display: inline-block;
    background: #0e2a47;
    color: white;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .stats-row { grid-template-columns: 1fr; }
    .dash-grid { grid-template-columns: 1fr; }
}

/* =========================================
   10. AUTH PAGES (LOGIN, REGISTER, FORGOT PASSWORD)
   ========================================= */

/* Main Container (Centers the card) */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f6f8; /* Light grey background */
    padding: 20px;
}

/* Auth Card */
.auth-card {
    background: white;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
    border-top: 5px solid #1a73e8;
}
.auth-card:hover {
    transform: translateY(-5px);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}
.auth-header h2 {
    margin: 0;
    color: #0e2a47;
    font-size: 28px;
}
.auth-header p {
    color: #777;
    margin-top: 5px;
    font-size: 15px;
}

/* Form Group */
.auth-input-group {
    margin-bottom: 20px;
}

.auth-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.auth-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: 0.3s;
    box-sizing: border-box; /* Include padding in width */
}

.auth-input:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.auth-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}
.auth-btn:hover {
    background-color: #0e5ae4;
    transform: translateY(-1px);
}

/* Links and Footer */
.auth-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
}
.auth-link {
    color: #1a73e8;
    text-decoration: none;
}
.auth-link:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

/* Alert Link Styling (for mock reset link) */
.alert-link {
    color: #155724;
    font-weight: bold;
}

/* =========================================
   11. FORUM (KNOWLEDGE HUB) STYLES (Added)
   ========================================= */

/* Header Search Bar */
.search-bar-header {
    background: linear-gradient(135deg, #0e2a47 0%, #1a73e8 100%);
    padding: 40px 20px 60px 20px;
    text-align: center;
    color: white;
}
.search-form-wide {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    overflow: hidden;
}
.search-input-wide {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 16px;
}
.search-button-wide {
    background: #00cba9; /* Accent color */
    color: white;
    border: none;
    padding: 10px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.2s;
}
.search-button-wide:hover {
    background: #00b093;
}

/* Forum Grid Layout */
.forum-container {
    max-width: 1200px;
    margin: -30px auto 50px auto; /* Pulls up into the header background */
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr; 
    gap: 25px;
    align-items: start;
    position: relative;
}

/* Common Widget Card */
.card-widget {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
}
.widget-title {
    margin-top: 0;
    color: #0e2a47;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}
.widget-list {
    padding-left: 20px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

/* Ask Question Box */
.ask-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border-top: 4px solid #1a73e8;
}
.ask-toggle-btn {
    width: 100%;
    text-align: left;
    background: #f4f6f8;
    padding: 12px 15px;
    border-radius: 50px;
    border: 1px solid #ddd;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ask-toggle-btn:hover { background: #e9ecef; }
.form-title-small { margin-top: 0; color: #0e2a47; font-size: 18px; margin-bottom: 15px; }
.form-actions-right { text-align: right; margin-top: 15px; }

/* Question Card List */
.q-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eee;
}
.q-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }

.q-header { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 10px; 
    border-bottom: 1px dashed #f0f0f0;
    padding-bottom: 10px;
}
.q-author-img { width: 35px; height: 35px; border-radius: 50%; object-fit: cover; }
.q-author-name { font-size: 14px; font-weight: 700; color: #333; }
.q-meta { font-size: 12px; color: #888; }

.q-title {
    font-size: 18px;
    font-weight: 700;
    color: #0e2a47;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    line-height: 1.3;
}
.q-title:hover { color: #1a73e8; text-decoration: underline; }
.q-desc { font-size: 14px; color: #555; line-height: 1.5; margin-bottom: 15px; }

.q-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}
.q-stats { display: flex; gap: 20px; font-size: 13px; color: #666; }
.q-stats i { margin-right: 5px; color: #999; }
.q-tag {
    background: #e3f2fd;
    color: #1a73e8;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
}

/* Filters */
.filter-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 5px;
    transition: 0.2s;
}
.filter-link:hover, .filter-link.active { 
    background: #e3f2fd; 
    color: #1a73e8; 
    font-weight: bold; 
}

/* Widget CTA */
.widget-cta {
    background: #1a73e8;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: white;
}
.btn-cta-widget {
    background: white;
    color: #1a73e8;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    transition: 0.2s;
}
.btn-cta-widget:hover {
    background: #f0f0f0;
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
    .forum-container { 
        grid-template-columns: 1fr; 
        margin-top: 20px;
    }
    .forum-sidebar, .forum-widgets { 
        display: none; 
    }
}


/* =========================================
   13. JOB DETAIL PAGE (Added)
   ========================================= */

.job-detail-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Grid Layout */
.job-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Main Content wider than Sidebar */
    gap: 30px;
    align-items: start;
}

/* Common Card Styling */
.job-card-large, .job-card-sidebar {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
}

/* Header Section */
.job-header-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.company-logo {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    background-color: #f4f6f8;
}
.job-title-lg {
    font-size: 28px;
    font-weight: 700;
    color: #0e2a47;
    margin: 0;
}
.company-info-text {
    font-size: 16px;
    color: #666;
    margin: 2px 0;
}
.company-link {
    font-weight: 600;
    color: #1a73e8;
    text-decoration: none;
}
.company-link:hover {
    text-decoration: underline;
}
.job-meta-details {
    font-size: 14px;
    color: #999;
}

/* Requirements Box */
.job-requirements-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.req-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    flex: 1 1 40%; /* Two items per row on desktop */
}
.req-icon {
    width: 25px;
    color: #1a73e8;
    margin-right: 8px;
}
.req-item strong {
    font-weight: 700;
    color: #0e2a47;
    margin-left: 5px;
}

/* Description Content */
.section-heading {
    font-size: 22px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #0e2a47;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
}
.job-description-content {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}
.job-description-content p, .job-description-content ul {
    margin-bottom: 15px;
}

/* Skills Tags */
.skill-tags-container {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.skill-tag {
    display: inline-block;
    background: #e3f2fd;
    color: #1a73e8;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Sidebar Actions */
.job-card-sidebar {
    padding: 25px;
}
.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #0e2a47;
    margin-bottom: 15px;
}
.sticky-top {
    position: sticky;
    top: 100px; /* Adjust based on your header height */
}
.form-apply {
    margin-top: 15px;
}

/* Apply/Save Buttons */
.btn-cta-main {
    width: 100%;
    background-color: #1a73e8;
    color: white;
    font-weight: bold;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-cta-main:hover {
    background-color: #0e5ae4;
}

.btn-cta-disabled {
    width: 100%;
    background-color: #e0e0e0;
    color: #777;
    font-weight: bold;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    border: none;
    cursor: not-allowed;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-cta-secondary {
    width: 100%;
    margin-top: 10px;
    background-color: transparent;
    color: #1a73e8;
    border: 2px solid #1a73e8;
    font-weight: bold;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-cta-secondary:hover {
    background-color: #e3f2fd;
}
.btn-cta-secondary.saved {
    background-color: #dbeafe; /* Light Blue background */
    color: #1d4ed8;
    border-color: #3b82f6;
}
.btn-cta-secondary.saved:hover {
    background-color: #c7d2fe;
}
.btn-text i {
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 900px) {
    .job-detail-grid {
        grid-template-columns: 1fr;
    }
    .job-main-content {
        order: 2; /* Main content bottom on mobile */
    }
    .job-sidebar {
        order: 1; /* Sidebar top on mobile */
    }
    .req-item {
        flex: 1 1 100%;
    }
}

/* =========================================
   14. JOBS PORTAL (JOBS.PHP) STYLES (Added)
   ========================================= */

/* 1. Header & Search Bar */
.jobs-header {
    background: linear-gradient(135deg, #0e2a47 0%, #1a73e8 100%);
    padding: 50px 20px 80px 20px; /* Extra padding for search box overlap */
    text-align: center;
    color: white;
}
.jobs-title { 
    font-size: 32px; 
    font-weight: 700; 
    margin-bottom: 10px; 
}
.jobs-subtitle { 
    font-size: 16px; 
    opacity: 0.9; 
    margin-bottom: 30px; 
}

.job-search-box {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 8px;
    border-radius: 40px;
    display: flex;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    position: relative; /* For overlap effect */
    z-index: 10;
}
.input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-right: 1px solid #eee;
}
.input-group-last { border-right: none; }
.input-group i { color: #aaa; margin-right: 10px; }
.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    padding: 10px 0;
}
.btn-search {
    background: #0e2a47;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.btn-search:hover { background: #000; }

/* 2. Job Listings Container */
.jobs-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.jobs-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* 3. Professional Job Card */
.job-card {
    background: white;
    border: 1px solid #eef2f6;
    border-left: 5px solid #1a73e8; /* Left Accent Border */
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.job-info { 
    display: flex; 
    gap: 20px; 
    align-items: center; 
    flex: 1; 
}
.company-logo-placeholder {
    width: 60px;
    height: 60px;
    background: #f4f6f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1a73e8;
    font-weight: bold;
    flex-shrink: 0;
}

.job-details h3 { 
    margin: 0 0 5px 0; 
    font-size: 18px; 
    color: #333; 
    display: flex;
    align-items: center;
    gap: 10px;
}
.job-card-title {
    color: #333;
    text-decoration: none;
    font-weight: 700;
}
.job-card-title:hover {
    color: #1a73e8;
    text-decoration: underline;
}

.company-name { 
    font-size: 14px; 
    color: #555; 
    font-weight: 600; 
}
.job-meta {
    margin-top: 8px;
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #777;
}
.job-meta span { display: flex; align-items: center; gap: 5px; }
.job-meta i { color: #999; }

/* Badges */
.job-type-badge {
    background: #e3f2fd;
    color: #1a73e8;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: capitalize;
}

/* Action Section */
.job-action { 
    text-align: right;
    flex-shrink: 0;
}
.salary-tag { 
    display: block; 
    font-weight: bold; 
    color: #28a745; 
    margin-bottom: 8px; 
    font-size: 15px; 
}
.btn-apply-card {
    padding: 8px 25px !important;
}
.login-to-apply {
    color: #1a73e8; 
    font-weight: 600; 
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    display: block;
}

/* Empty State */
.empty-state-card {
    text-align: center; 
    padding: 50px; 
    background: white; 
    border-radius: 8px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}
.empty-icon {
    font-size: 50px; 
    color: #ddd; 
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .job-search-box { 
        flex-direction: column; 
        border-radius: 10px; 
        padding: 15px; 
        margin-top: 20px; /* Push down from header content */
    }
    .input-group { 
        border-right: none; 
        border-bottom: 1px solid #eee; 
        padding: 10px 0; 
    }
    .input-group:last-child {
        border-bottom: none;
    }
    .btn-search { 
        width: 100%; 
        margin-top: 10px; 
        border-radius: 5px; 
    }
    .job-card { 
        flex-direction: column; 
        align-items: flex-start; 
        padding: 20px;
    }
    .job-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
        margin-bottom: 10px;
    }
    .job-details {
        width: 100%;
    }
    .company-logo-placeholder {
        margin-right: auto;
    }
    .job-action { 
        text-align: left; 
        width: 100%; 
        border-top: 1px solid #eee; 
        padding-top: 15px; 
    }
}

/* =========================================
   15. LOGIN PAGE ALERTS (Finalization)
   ========================================= */

/* Info Alert for Auth pages (e.g., redirect messages) */
.alert-info-auth {
    background: #d1ecf1;
    color: #0c5460;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #bee5eb;
    font-weight: 500;
}
.alert-info-auth i {
    margin-right: 5px;
}

/* Redefining Auth Input to use icons properly (if not already done) */
.auth-input-group .input-icon-wrap {
    position: relative;
}
.auth-input-group .input-icon-wrap .auth-input {
    padding-left: 38px; /* Space for icon */
}
.auth-input-group .input-icon-wrap .input-icon {
    position: absolute;
    left: 12px;
    top: 13px;
    color: #999;
    font-size: 15px;
}

/* =========================================
   16. JOB MANAGEMENT TABLE STYLES (Added)
   ========================================= */

.manage-jobs-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.page-title {
    color: #0e2a47;
    margin: 0;
    font-size: 24px;
}

.table-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
    overflow-x: auto; /* For mobile responsiveness */
}

/* Base Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.data-table th {
    padding: 15px 20px;
    border-bottom: 2px solid #eee;
    background: #f9f9f9;
    text-align: left;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}
.data-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.data-table tbody tr:last-child td {
    border-bottom: none;
}
.data-table tbody tr:hover {
    background: #fcfcfc;
}

/* Title Link */
.table-title-link {
    font-weight: bold;
    color: #333;
    text-decoration: none;
}
.table-title-link:hover {
    color: #1a73e8;
    text-decoration: underline;
}
.table-subtitle {
    font-size: 12px;
    color: #777;
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}
.badge-green { background: #d4edda; color: #155724; }
.badge-orange { background: #fff3cd; color: #856404; }
.badge-red { background: #f8d7da; color: #721c24; }
.badge-gray { background: #f0f0f0; color: #666; }

/* Action Buttons */
.action-column {
    white-space: nowrap;
}
.btn-action-sm {
    background: #555;
    color: white;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    margin-right: 5px;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}
.btn-action-sm:hover {
    background: #333;
}
.btn-action-close {
    background: #e67e22; /* Orange for closing */
}
.btn-action-close:hover {
    background: #d35400;
}

.btn-action-icon {
    color: #dc3545;
    font-size: 15px;
    margin-left: 8px;
    transition: 0.2s;
}
.btn-action-icon:hover {
    color: #a71d2a;
}

/* Empty Row */
.empty-table-row {
    text-align: center !important;
    padding: 30px !important;
    color: #777;
    font-size: 16px;
}
.empty-table-row i {
    font-size: 30px;
    color: #ddd;
    display: block;
    margin-bottom: 15px;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .data-table {
        min-width: 600px; /* Forces scroll on small screens */
    }
    .page-header-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-title {
        margin-bottom: 15px;
    }
}



/* =========================================
   18. MEMBERSHIP / PRICING PAGE (Added)
   ========================================= */

.pricing-page-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.pricing-header {
    text-align: center;
}

.pricing-title {
    color: #0e2a47; 
    font-size: 36px; 
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.pricing-subtitle {
    color: #666; 
    font-size: 18px; 
    margin-bottom: 50px;
}

.premium-status-bar {
    text-align: center;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Pricing Cards Flex Layout */
.pricing-card-flex {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background: white; 
    width: 300px; 
    padding: 30px; 
    border-radius: 12px; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.1); 
    border-top: 5px solid #ccc;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Popular Card Highlight */
.popular-card {
    border-top: 5px solid #1a73e8;
    box-shadow: 0 5px 25px rgba(26, 115, 232, 0.25);
    transform: scale(1.05); /* Slightly larger */
}
@media (max-width: 650px) {
    .popular-card {
        transform: scale(1);
    }
}

/* Card Tags */
.card-tag {
    display: inline-block; 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-size: 12px; 
    margin-bottom: 10px;
    font-weight: bold;
}
.tag-primary { background: #1a73e8; color: white; }
.tag-secondary { background: #f0f0f0; color: #555; }

/* Pricing Details */
.plan-name { color: #333; margin-top: 0; }
.plan-name-premium { color: #1a73e8; margin-top: 0; }

.plan-price { 
    font-size: 40px; 
    margin: 10px 0;
    color: #0e2a47; 
}
.price-suffix { 
    font-size: 16px; 
    color: #777;
    font-weight: normal;
}
.plan-description { color: #666; font-size: 14px; }
.card-divider { 
    border: 0; 
    border-top: 1px solid #eee; 
    margin: 20px 0; 
}

/* Feature List */
.feature-list {
    text-align: left; 
    list-style: none; 
    padding: 0; 
    color: #555; 
    line-height: 2;
    flex-grow: 1; /* Pushes button to bottom */
    margin-bottom: 25px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}
.feature-item i {
    color: #ccc;
    width: 16px;
}
.feature-item.success i {
    color: #28a745;
}
.feature-item.disabled {
    color: #ccc;
    text-decoration: line-through;
}

/* Custom Buttons */
.btn-block {
    display: block;
    width: 100%;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-disabled {
    background: #f0f0f0; 
    color: #333; 
    cursor: not-allowed;
    border: 1px solid #ddd;
}
.btn-active {
    background: #28a745; 
    color: white;
}



/* =========================================
   22. PAYMENT SIMULATION STYLES (Added)
   ========================================= */

.payment-processing-body { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
    background: #f4f6f8; 
    text-align: center;
    margin: 0;
}

.processing-card {
    background: white; 
    padding: 40px; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 400px;
}

.loader-wrap {
    margin: 0 auto 20px auto;
}

.loader { 
    border: 5px solid #f3f3f3; 
    border-top: 5px solid #1a73e8; 
    border-radius: 50%; 
    width: 50px; 
    height: 50px; 
    animation: spin 1s linear infinite; 
    margin: 0 auto; 
}
@keyframes spin { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

.processing-title {
    color: #0e2a47;
    margin-top: 0;
}

.processing-text {
    color: #666;
}

.success-message {
    color: #28a745; 
    font-weight: bold; 
    margin-top: 20px;
}

.failed-title {
    color: #dc3545;
    margin-top: 0;
}

/* =========================================
   23. JOB POSTING FORM (POST-JOB.PHP) STYLES (Added)
   ========================================= */

.job-post-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.form-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid #1a73e8;
}

.page-title { 
    margin: 0 0 10px 0; 
    color: #0e2a47;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.page-subtitle { 
    color: #666; 
    margin-bottom: 30px; 
}

/* Form Structure */
.form-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0e2a47;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-top: 30px;
}
.form-section-title:first-child { 
    margin-top: 0; 
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { 
    margin-bottom: 15px; 
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
}

.required-star {
    color: #dc3545;
    margin-left: 3px;
}
    
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
    box-sizing: border-box;
    font-family: inherit;
}
.form-control:focus { 
    border-color: #1a73e8; 
    outline: none; 
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1); 
}

textarea.form-control {
    resize: vertical;
}

.helper-text { 
    font-size: 12px; 
    color: #888; 
    margin-top: 5px; 
}

/* Submit Button */
.btn-block {
    width: 100%; 
    padding: 15px; 
    font-size: 16px; 
    margin-top: 20px;
}

@media (max-width: 768px) {
    .form-grid { 
        grid-template-columns: 1fr; 
    }
    .form-card { 
        padding: 20px; 
    }
}

/* =========================================
   24. LEGAL PAGES (PRIVACY, COPYRIGHT, TERMS)
   ========================================= */

/* Hero Header */
.legal-hero {
    background: #f4f6f8;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 4px solid #1a73e8;
}
.legal-hero h1 {
    color: #0e2a47;
    margin-bottom: 10px;
    font-size: 36px;
}
.legal-hero p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
}

/* Container & Card (Main Content) */
.legal-container {
    max-width: 900px;
    margin: -40px auto 50px auto; /* Pulls card up into the hero */
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.legal-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    line-height: 1.7;
    color: #444;
    font-size: 15px;
}

/* Typography for Legal Content */
.legal-card h3 {
    color: #0e2a47;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-size: 22px;
}

.legal-card ul {
    padding-left: 25px;
    list-style-type: disc;
    margin-bottom: 20px;
}

.legal-card li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.last-updated {
    font-size: 13px;
    color: #999;
    font-style: italic;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

/* Highlight Box (Used for Contact/Email) */
.highlight-box {
    background: #f4f6f8;
    padding: 20px;
    border-left: 4px solid #1a73e8;
    margin: 20px 0;
    font-size: 15px;
    border-radius: 4px;
    color: #333;
}

/* =========================================
   25. PROFESSIONAL PROFILE VIEW (Added)
   ========================================= */

.profile-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* --- 1. HEADER CARD --- */
.profile-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #eef2f6;
}

.profile-header-card {
    padding: 0;
    overflow: hidden;
}

.profile-cover {
    height: 150px;
    background: linear-gradient(135deg, #1a73e8 0%, #0e2a47 100%);
    width: 100%;
}

.profile-info-container {
    padding: 0 30px 30px 30px;
    margin-top: -80px; /* Pulls avatar up into the cover */
    display: flex;
    flex-direction: column;
}

.profile-img-container {
    text-align: left;
    margin-bottom: 20px;
}

.profile-avatar-lg {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.profile-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

.profile-name {
    font-size: 30px;
    margin: 0 0 5px 0;
    color: #0e2a47;
    font-weight: 700;
}

.profile-headline {
    font-size: 18px;
    color: #444;
    margin: 0 0 10px 0;
}

.profile-location {
    font-size: 14px;
    color: #777;
}
.user-type-tag {
    font-weight: 600;
    color: #1a73e8;
}

.profile-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Badges for availability */
.availability-badges {
    margin-top: 15px;
}
.badge-pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
}
.badge-seeking { background: #ffebee; color: #dc3545; }
.badge-mentor { background: #e6f7e9; color: #28a745; }
.badge-freelance { background: #fff3cd; color: #e67e22; }
.badge-premium {
    background: linear-gradient(45deg, #f1c40f, #f39c12); 
    color: white; 
    font-size: 11px; 
    padding: 4px 10px; 
    border-radius: 20px; 
    vertical-align: middle; 
    margin-left: 8px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.15); 
    border: 1px solid #e67e22; 
    letter-spacing: 0.5px;
}
.icon-verified {
    color: #1a73e8; 
    font-size: 20px; 
    margin-left: 5px; 
    vertical-align: middle;
}

/* --- 2. CONTENT GRID --- */
.profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Left (Main) is wider */
    gap: 25px;
    align-items: start;
}

/* Left Column (Main Content) */
.section-heading {
    font-size: 22px;
    font-weight: 700;
    color: #0e2a47;
    margin: 0 0 15px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-text {
    color: #444; 
    line-height: 1.7; 
    white-space: pre-line;
    font-size: 15px;
}

/* Timeline Styles (Experience/Education/Certifications) */
.timeline-item {
    padding-left: 20px;
    border-left: 2px solid #ddd;
    position: relative;
    margin-bottom: 20px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #1a73e8;
    border-radius: 50%;
    border: 2px solid white;
}
.timeline-title {
    font-size: 16px;
    font-weight: 700;
    color: #0e2a47;
    margin: 0 0 3px 0;
}
.timeline-subtitle {
    font-size: 14px;
    color: #444;
    margin-bottom: 3px;
}
.timeline-date {
    font-size: 12px;
    color: #777;
    display: block;
}
.timeline-description {
    font-size: 13px; 
    color:#666; 
    margin-top:5px;
}

/* Right Column (Sidebar) */
.sidebar-card {
    padding: 20px;
}
.sidebar-heading {
    margin-top: 0;
    font-size: 14px;
    color: #555;
    text-transform: uppercase;
    font-weight: 600;
}

.key-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}
.key-detail-item strong {
    color: #333;
}
.sidebar-divider {
    margin: 15px 0; 
    border: 0; 
    border-top: 1px solid #eee;
}
.skill-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.skill-tag {
    display: inline-block;
    background: #e6f7ff;
    color: #1a73e8;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}
.bg-light-orange {
    background: #fff8e1;
    border: 1px solid #ffecb3;
}
.text-orange {
    color: #e67e22 !important;
}
.text-primary-blue {
    color: #1a73e8;
}

/* Responsive */
@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    .profile-info-container {
        padding: 0 20px 20px 20px;
    }
    .profile-name {
        font-size: 26px;
    }
}

/* =========================================
  26. AUTH PAGES (LOGIN, REGISTER, FORGOT PASSWORD) STYLES
   ========================================= */

/* Main Container (Centers the card) */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f6f8; /* Light grey background */
    padding: 20px;
}

/* Auth Card */
.auth-card {
    background: white;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
    border-top: 5px solid #1a73e8;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}
.auth-header h2 {
    margin: 0;
    color: #0e2a47;
    font-size: 28px;
}
.auth-header p {
    color: #777;
    margin-top: 5px;
    font-size: 15px;
}

/* Input Group */
.auth-input-group { 
    margin-bottom: 20px; 
}

.auth-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.auth-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: 0.3s;
    box-sizing: border-box;
}

.auth-input:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

/* Select Dropdown Specific Fix */
.form-select {
    appearance: none; /* Removes default OS styling for a cleaner look */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23999999' d='M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8em;
    padding-right: 2.5rem !important;
}

/* Input Icon Wrap (for Login/Register Icons) */
.input-icon-wrap {
    position: relative;
}
.input-icon-wrap .auth-input {
    padding-left: 38px; /* Make space for icon */
}
.input-icon-wrap .input-icon {
    position: absolute;
    left: 12px;
    top: 13px;
    color: #999;
    font-size: 15px;
}

/* Buttons */
.auth-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}
.auth-btn:hover {
    background-color: #0e5ae4;
    transform: translateY(-1px);
}

/* Links and Footer */
.auth-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    align-items: center;
}

.checkbox-label {
    color: #666;
    cursor: pointer;
    font-size: 14px;
}
.checkbox-label input {
    vertical-align: middle;
    margin-right: 5px;
}

.auth-link {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
}
.auth-link:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

/* =========================================
   27. RESOURCES (KNOWLEDGE HUB) STYLES (Added)
   ========================================= */

/* Header Area */
.res-header {
    background: linear-gradient(to right, #2c3e50, #4ca1af); /* Dark Teal Gradient */
    padding: 50px 20px 80px 20px;
    text-align: center;
    color: white;
}
.res-title { 
    font-size: 36px; 
    margin: 0 0 10px 0; 
    font-weight: 700; 
}
.res-subtitle { 
    font-size: 16px; 
    opacity: 0.9; 
    margin-bottom: 30px; 
}

/* Search Bar */
.res-search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 50px;
}
.res-input {
    width: 100%;
    padding: 15px 70px 15px 25px; /* Space for button/icon */
    border-radius: 50px;
    border: none;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}
.res-search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #1a73e8; /* Change to primary color */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}
.res-search-btn:hover { background: #0e5ae4; }

/* Layout Grid */
.res-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    align-items: start;
}
@media (max-width: 900px) { 
    .res-container { grid-template-columns: 1fr; } 
    .res-search-box { margin-top: 20px; }
}

/* Category Tabs */
.cat-tabs { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 25px; 
    flex-wrap: wrap; 
}
.cat-tab {
    padding: 8px 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: 0.3s;
}
.cat-tab:hover, .cat-tab.active { 
    background: #1a73e8; 
    color: white; 
    border-color: #1a73e8; 
    font-weight: 600;
}

/* Document Card */
.doc-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 5px solid #ff4d4d; /* PDF Color */
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.2s;
    border: 1px solid #eef2f6;
}
.doc-card:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}

.doc-icon {
    font-size: 40px;
    color: #ff4d4d;
    background: #fff0f0;
    padding: 15px;
    border-radius: 10px;
    flex-shrink: 0;
}
    
.doc-content { flex: 1; }
.doc-title { margin: 0 0 5px 0; font-size: 18px; color: #0e2a47; font-weight: 700; }
.doc-meta { font-size: 12px; color: #777; margin-bottom: 10px; }
.doc-category-tag {
    background: #eee; 
    padding: 2px 8px; 
    border-radius: 4px; 
    font-weight: 600;
    font-size: 11px;
    display: inline-block;
}
.doc-desc { font-size: 14px; color: #555; line-height: 1.5; margin-bottom: 15px; }
    
.doc-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-top: 1px solid #eee; 
    padding-top: 10px; 
}
.download-count { 
    font-size: 13px; 
    color: #888; 
}
.btn-download-card {
    padding: 5px 15px !important; 
    font-size: 13px !important;
}

/* Sidebar Widgets */
.widget-card {
    background: white; 
    padding: 20px; 
    border-radius: 10px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
}
.widget-heading-sm {
    margin-top: 0; 
    color: #0e2a47; 
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 15px;
}
.widget-text-sm {
    font-size: 13px;
    color: #999;
}

/* Popular Doc Item */
.popular-doc-item {
    margin-bottom: 15px; 
    border-bottom: 1px solid #f9f9f9; 
    padding-bottom: 10px;
}
.doc-link-sidebar {
    font-weight: 600; 
    font-size: 14px; 
    color: #333; 
    text-decoration: none; 
    display: block;
    line-height: 1.4;
}
.doc-link-sidebar:hover {
    color: #1a73e8;
    text-decoration: underline;
}
.doc-stats-sidebar {
    font-size: 11px; 
    color: #888;
}

/* Upload Widget */
.upload-widget {
    background: #e6f7ff; /* Light background for accent */
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid #cceeff;
    border-top: 4px solid #00cba9; /* Accent Color */
}
.icon-upload {
    font-size: 40px; 
    color: #00cba9; 
    margin-bottom: 10px;
}
.btn-upload-main {
    background: #00cba9;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
}
.btn-upload-main:hover {
    background: #00b093;
}


/* --- MODAL STYLES --- */
.modal { 
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.6); 
    overflow: auto;
}
.modal-content { 
    background-color: white; 
    margin: 10% auto; 
    padding: 30px; 
    width: 90%; 
    max-width: 500px; 
    border-radius: 12px; 
    position: relative; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.close-btn { 
    position: absolute; 
    right: 20px; 
    top: 10px; 
    font-size: 30px; 
    cursor: pointer; 
    color: #999;
}
.close-btn:hover {
    color: #333;
}
.modal-title {
    margin-top: 0; 
    color: #0e2a47;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Modal Form Inputs (Reusing form-control) */
.form-group {
    margin-bottom: 15px;
}

/* =========================================
   28. SEARCH PEOPLE STYLES (Added)
   ========================================= */

.search-page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Search Header Box */
.search-header-box {
    background: #0e2a47; /* Dark Navy Background */
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.search-title { 
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
}
.search-subtitle { 
    opacity: 0.8; 
    margin-bottom: 20px;
    font-size: 16px;
}

/* Search Form Flex Layout */
.search-form-flex {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.search-input-main, .search-select-main {
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    width: 250px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.search-select-main {
    width: 200px;
    /* Uses .form-select styles for custom arrow if defined */
}

.btn-search-go {
    border: 1px solid white; /* Primary button with white border */
    padding: 10px 20px;
    font-weight: 600;
    font-size: 15px;
}

.clear-link {
    color: white; 
    text-decoration: underline; 
    align-self: center; 
    font-size: 13px;
    padding: 10px;
}
.clear-link:hover {
    color: #ffd700; /* Subtle hover highlight */
}

/* Result Cards (Customizing net-card for search results) */
.search-result-card {
    /* net-card base styles apply */
    padding: 20px;
    justify-content: flex-start;
}

.card-profile-link {
    /* Style for the linked image and name */
}
.card-badge-line {
    font-size: 12px; 
    color: #1a73e8; 
    font-weight: 600; 
    margin-bottom: 8px;
    margin-top: 5px;
}
.card-headline-short {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
    height: 35px;
    overflow: hidden;
}

.card-action-bar {
    width: 100%;
    margin-top: auto;
}

.btn-full-width {
    width: 100%;
    display: block !important;
    text-align: center;
    padding: 10px !important;
    font-size: 14px !important;
}

/* Responsive */
@media (max-width: 600px) {
    .search-header-box {
        padding: 20px;
    }
    .search-input-main, .search-select-main {
        width: 100%;
    }
    .search-form-flex {
        flex-direction: column;
    }
    .btn-search-go {
        width: 100%;
    }
    .clear-link {
        width: 100%;
        text-align: center;
    }
}
/* =========================================
  29. TESTIMONIAL SUBMISSION FORM (Added)
   ========================================= */

.testimonial-form-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 0 20px;
}

.testimonial-form-container .form-card {
    background: white; 
    padding: 30px; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid #00cba9; /* Accent Color */
}

.form-title {
    color: #0e2a47; 
    border-bottom: 2px solid #f4f4f4; 
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-subtitle {
    color: #666; 
    margin-bottom: 25px;
    font-size: 15px;
}

/* Reusing Form/Alert classes (form-group, form-label, form-control, alert) */

.form-footer-link {
    text-align: center; 
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* Ensure textarea uses main form control styles */
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    /* Add focus styles if not already defined globally */
}


/* =========================================
  32. ABOUT US PAGE STYLING
   ========================================= */

.about-hero {
    background: linear-gradient(135deg, #0e2a47 0%, #1a73e8 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.about-hero h1 { font-size: 38px; margin-bottom: 15px; }
.about-hero p { font-size: 18px; opacity: 0.9; max-width: 700px; margin: 0 auto; }

.about-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.about-section { margin-bottom: 80px; }

.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.about-text { flex: 1; min-width: 300px; }
.about-text p { margin-bottom: 15px; font-size: 16px; color: #555; line-height: 1.8; }

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    color: #1a73e8;
}
.logo-icon-large { font-size: 150px; opacity: 0.2; }

/* Grid Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom: 4px solid #1a73e8;
}
.about-card i { font-size: 40px; color: #1a73e8; margin-bottom: 20px; }
.about-card h3 { margin-bottom: 10px; color: #0e2a47; }
.about-card p { font-size: 14px; color: #666; }

/* Values List */
.about-values {
    background: #eef6ff;
    padding: 50px;
    border-radius: 15px;
}
.values-list { list-style: none; padding: 0; margin-top: 25px; }
.values-list li { margin-bottom: 15px; font-size: 16px; color: #333; }
.values-list i { color: #28a745; margin-right: 10px; }

/* CTA Section */
.about-cta {
    background: #0e2a47;
    color: white;
    text-align: center;
    padding: 60px 20px;
}
.about-cta h3 { margin-bottom: 25px; font-size: 24px; }
.btn-lg { padding: 15px 40px; font-size: 18px; text-decoration: none; }

@media (max-width: 768px) {
    .about-hero h1 { font-size: 28px; }
    .about-values { padding: 30px 20px; }
}

/* =========================================
  33.  VIEW DISCUSSION PAGE STYLING
   ========================================= */
.view-disc-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.disc-breadcrumb { margin-bottom: 25px; }
.disc-breadcrumb a { text-decoration: none; color: #1a73e8; font-weight: 600; font-size: 14px; }

.disc-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.disc-title { font-size: 32px; color: #0e2a47; margin-bottom: 15px; line-height: 1.3; }
.disc-top-meta { 
    padding-bottom: 20px; 
    border-bottom: 1px solid #e1e8ed; 
    margin-bottom: 30px;
    font-size: 14px;
    color: #65676b;
    display: flex;
    gap: 20px;
}
.category-tag { background: #eef6ff; color: #1a73e8; padding: 3px 12px; border-radius: 15px; font-weight: 700; }

.disc-question-card { display: flex; gap: 20px; margin-bottom: 50px; }
.disc-author-img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; border: 2px solid #1a73e8; }
.disc-text { font-size: 17px; line-height: 1.7; color: #333; margin-bottom: 30px; }

.author-signature-box { display: flex; justify-content: flex-end; }
.sig-meta { background: #f8f9fa; padding: 15px; border-radius: 8px; border-left: 4px solid #1a73e8; width: 200px; }
.sig-label { font-size: 11px; color: #888; display: block; margin-bottom: 5px; }
.sig-user a { font-weight: 700; text-decoration: none; color: #1a73e8; font-size: 14px; }
.sig-user small { display: block; color: #666; font-size: 11px; }

/* Answers Section */
.answers-count { font-size: 22px; color: #0e2a47; margin-bottom: 25px; border-bottom: 1px solid #e1e8ed; padding-bottom: 10px; }
.ans-item { display: flex; gap: 20px; padding: 25px 0; border-bottom: 1px solid #f0f2f5; }
.ans-avatar { width: 35px; height: 35px; border-radius: 50%; object-fit: cover; }
.ans-meta { margin-bottom: 10px; font-size: 13px; }
.ans-time { color: #888; margin-left: 10px; }
.ans-text { font-size: 15px; line-height: 1.6; color: #444; }
.author-label { background: #1a73e8; color: white; font-size: 10px; padding: 2px 6px; border-radius: 4px; margin-left: 5px; }

/* Sidebar */
.sidebar-info-box { background: #fff; padding: 20px; border-radius: 12px; border: 1px solid #eef2f6; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.sidebar-info-box h4 { font-size: 16px; margin-bottom: 15px; color: #0e2a47; }
.sidebar-info-box ul { list-style: none; padding: 0; }
.sidebar-info-box li { font-size: 13px; color: #555; margin-bottom: 10px; }
.sidebar-link { display: block; font-size: 14px; color: #1a73e8; text-decoration: none; margin-bottom: 12px; font-weight: 600; }
.sidebar-link:hover { text-decoration: underline; }

/* Reply Box */
.post-answer-box { margin-top: 50px; background: #fff; padding: 30px; border-radius: 12px; border: 1px solid #e1e8ed; }
.post-answer-box textarea { width: 100%; border: 1px solid #ddd; border-radius: 8px; padding: 15px; font-size: 15px; outline: none; transition: 0.3s; }
.post-answer-box textarea:focus { border-color: #1a73e8; }
.btn-submit-ans { background: #1a73e8; color: white; border: none; padding: 12px 30px; border-radius: 8px; font-weight: 700; cursor: pointer; margin-top: 15px; transition: 0.3s; }
.btn-submit-ans:hover { background: #0e2a47; }

/* Mobile View */
@media (max-width: 768px) {
    .disc-layout-grid { grid-template-columns: 1fr; }
    .disc-sidebar-col { order: 2; }
}


/* ================================================================
 34.  TRANSFOLOOP CUSTOM CSS FOR PROFILE EDITING
   ================================================================ */
   

:root {
    --linkedin-blue: #0a66c2;
    --dark-navy: #0e2a47;
    --bg-grey: #f4f6f8;
    --border-grey: #e0e0e0;
    --text-main: #333333;
    --text-muted: #666666;
    --success-green: #057642;
}

body {
    background-color: var(--bg-grey);
}

.edit-profile-container {
    max-width: 850px;
    margin: 40px auto;
    padding: 0 15px;
}

/* 1. Profile Strength Card */
.completion-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--border-grey);
}
.completion-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-main);
}
.progress-bg {
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00cba9, var(--linkedin-blue));
    transition: 0.8s ease-in-out;
}

/* 2. Cover Photo Section */
.cover-edit-section {
    height: 220px;
    border-radius: 10px 10px 0 0;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 1px solid var(--border-grey);
    background-color: #cbd5e0;
}
.cover-upload-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--linkedin-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: 0.3s;
}
.cover-upload-btn:hover { background: #f0f7ff; }

/* 3. Main Edit Card */
.edit-card {
    background: white;
    padding: 30px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid var(--border-grey);
    border-top: none;
}
.main-info-card { border-radius: 0 0 10px 10px; }

/* Profile Photo Overlap */
.profile-photo-edit {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-top: -80px;
    margin-bottom: 25px;
    padding-left: 20px;
}
.photo-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
}
.photo-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.photo-overlay {
    position: absolute;
    bottom: 10px;
    right: 5px;
    background: var(--linkedin-blue);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid white;
}

.photo-text h2 { margin: 0; font-size: 22px; color: var(--dark-navy); }
.photo-text p { margin: 2px 0; color: var(--text-muted); font-size: 15px; }

/* 4. Form Styling */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-navy);
    font-size: 14px;
}
.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 15px;
    color: #495057;
    transition: 0.2s;
    box-sizing: border-box;
}
.form-input:focus {
    border-color: var(--linkedin-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

.bg-light-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #edf2f7;
    margin: 20px 0;
}

/* 5. Buttons */
.btn-save-main {
    background: var(--linkedin-blue);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
    margin-top: 10px;
}
.btn-save-main:hover { background: #004182; }

.btn-outline-blue {
    border: 1px solid var(--linkedin-blue);
    color: var(--linkedin-blue);
    background: transparent;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.btn-outline-blue:hover { background: #f0f7ff; }

/* 6. List Items (Experience/Edu) */
.list-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 12px;
    background: white;
}
.list-item-row strong { color: var(--dark-navy); font-size: 16px; }
.text-danger { color: #dc3545; cursor: pointer; font-size: 18px; }

/* Mobile Optimization */
@media (max-width: 600px) {
    .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
    .cover-edit-section { height: 150px; }
    .profile-photo-edit { flex-direction: column; align-items: center; text-align: center; margin-top: -60px; padding-left: 0; }
}


/* =========================================
   29. ANNOUNCEMENT / ADVERTISEMENT SYSTEM 
   ========================================= */

.announce-container {
    max-width: 850px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #eef2f6;
}

.announce-header {
    background: #fff8f1; /* Light Industrial Orange Tint */
    padding: 35px;
    text-align: center;
    border-bottom: 3px solid #fbceb1;
}

.announce-header h1 {
    color: #d35400; /* Dark Orange */
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 800;
}

.announce-header p {
    color: #666;
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto 15px auto;
}

.badge-warning {
    background: #ffeeba;
    color: #856404;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.announce-form {
    padding: 40px;
}

/* Custom Orange Button for Announcements */
.btn-orange {
    background: #e67e22 !important;
    border: none;
    transition: 0.3s;
}

.btn-orange:hover {
    background: #d35400 !important;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .announce-form { padding: 20px; }
    .form-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   INDUSTRIAL RFQ DESIGN - TRANSFOLOOP
   ================================================================ */

.rfq-main-container { 
    max-width: 1200px; 
    margin: 50px auto; 
    display: flex; 
    gap: 40px; 
    padding: 0 20px;
}

/* Sidebar Instructions Card */
.rfq-info-sidebar { 
    flex: 1; 
    background: #0e2a47; 
    color: white; 
    padding: 40px; 
    border-radius: 20px; 
    height: fit-content;
    position: sticky;
    top: 100px;
}

.rfq-info-sidebar h2 { color: #00cba9; margin-top: 0; }
.instruction-list { list-style: none; padding: 0; margin-top: 30px; }
.instruction-list li { 
    margin-bottom: 25px; 
    display: flex; 
    gap: 15px; 
    font-size: 14px; 
    opacity: 0.9;
    line-height: 1.6;
}
.instruction-list i { color: #00cba9; font-size: 18px; }

/* Main Form Card */
.rfq-form-card-pro { 
    flex: 2; 
    background: white; 
    padding: 50px; 
    border-radius: 20px; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
}

.form-header-pro { margin-bottom: 40px; }
.form-header-pro h1 { margin: 0; color: #0e2a47; font-size: 28px; }

/* Elegant Form Styling */
.input-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 25px; }
.pro-group { margin-bottom: 25px; }
.pro-group label { 
    display: block; 
    font-weight: 600; 
    color: #4a5568; 
    margin-bottom: 10px; 
    font-size: 14px; 
}

.pro-control { 
    width: 100%; 
    padding: 14px 18px; 
    border: 1.5px solid #e2e8f0; 
    border-radius: 12px; 
    font-size: 15px; 
    transition: 0.3s;
    background: #f8fafc;
}

.pro-control:focus { 
    border-color: #1a73e8; 
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(26,115,232,0.1);
}

/* Premium Broadcast Button */
.btn-broadcast-pro { 
    background: linear-gradient(135deg, #1a73e8 0%, #0e2a47 100%); 
    color: white; 
    border: none; 
    padding: 20px; 
    width: 100%; 
    border-radius: 15px; 
    font-size: 18px; 
    font-weight: 700; 
    cursor: pointer;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-broadcast-pro:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 12px 25px rgba(26,115,232,0.3);
}

@media (max-width: 900px) {
    .rfq-main-container { flex-direction: column; }
    .rfq-info-sidebar { position: relative; top: 0; }
}

/* ================================================================
   INDUSTRIAL RFQ DETAILS - TRANSFOLOOP
   ================================================================ */

.rfq-attachments-section {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid #f0f2f5;
}

.rfq-attachments-section h3 {
    font-size: 18px;
    color: #0e2a47;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.attachments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.attachment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafbfc;
    border: 1px solid #e1e4e8;
    padding: 12px 15px;
    border-radius: 8px;
    transition: 0.2s;
}

.attachment-item:hover {
    border-color: #0a66c2;
    background: #f0f7ff;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.pdf-icon {
    color: #e74c3c;
    font-size: 20px;
}

.btn-download-file {
    text-decoration: none;
    color: #0a66c2;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #0a66c2;
    white-space: nowrap;
}

.btn-download-file:hover {
    background: #0a66c2;
    color: #fff;
}

/* Mobile responsive for attachments */
@media (max-width: 600px) {
    .attachments-grid {
        grid-template-columns: 1fr;
    }
}