@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Color Palette */
:root {
    --primary-color: #404E67;
    --primary-gradient: linear-gradient(to right, #404E67, #6F86D6);
    --secondary-color: #FF5370;
    --accent-color: #263238;
    --text-color: #333;
    --text-muted: #888;
    --bg-color: #f4f7fa;
    --sidebar-bg: linear-gradient(to bottom, #263238, #2c3e50);
    --sidebar-width: 264px;
    --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --border-radius: 5px;

    /* Status Colors */
    --status-responded: #17a2b8;
    --status-resolved: #28a745;
    --status-moreinfo: #ffc107;
    --status-lodged: #6c757d;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    overflow-x: hidden;
}

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

/* Layout Container */
.wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Main Content Wrapper */
#content {
    width: 100%;
    padding: 0;
    min-height: 100vh;
    transition: all 0.3s;
    flex: 1;
}

/* Main Content Inner */
.main-content {
    width: 100%;
    padding: 20px 30px 30px 30px;
}

@media (min-width: 769px) {
    #content {
        width: calc(100% - 264px);
    }
}

/* Sidebar */
#sidebar {
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    flex-shrink: 0;
    background: var(--sidebar-bg);
    color: #fff;
    transition: all 0.3s;
    min-height: 100vh;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header img {
    max-width: 150px;
    height: auto;
}

.list-unstyled {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.list-unstyled.components {
    padding: 20px 0;
}

.list-unstyled li {
    margin: 0;
}

.list-unstyled a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.list-unstyled a:hover,
.list-unstyled li.active a {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.list-unstyled .icon {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
}

.list-unstyled ion-icon {
    font-size: 20px;
}

/* Navbar */
.navbar {
    padding: 15px 30px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 30px;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-left h4 {
    margin: 0;
    color: var(--text-color);
    font-weight: 500;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-right a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.navbar-right a:hover {
    color: var(--primary-color);
}

/* Cards */
.card,
.form-card {
    background: #fff;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 25px;
    margin-bottom: 30px;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title ion-icon {
    font-size: 22px;
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    color: white;
    background-color: var(--primary-color);
}

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

.btn-primary {
    background: linear-gradient(45deg, #404E67, #6F86D6);
    color: #fff !important;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #6F86D6, #404E67);
}

.btn-secondary {
    background: #e5e5ea;
    color: var(--text-color) !important;
}

.btn-secondary:hover {
    background: #d5d5da;
}

/* Forms */
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(64, 78, 103, 0.1);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-awaiting {
    background: #fff3cd;
    color: #856404;
}

.status-responded {
    background: #d1ecf1;
    color: #0c5460;
}

.status-resolved {
    background: #d4edda;
    color: #155724;
}

.status-additional-info {
    background: #fff3cd;
    color: #856404;
}

.status-lodged {
    background: #e2e3e5;
    color: #383d41;
}

/* Project Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.project-card {
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

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

.project-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 18px;
}

.project-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.project-card .badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-color);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-muted);
    margin-right: 8px;
}

/* Dashboard Widgets */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.widget-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6F86D6 100%);
    color: white;
    padding: 25px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(64, 78, 103, 0.2);
}

.widget-card ion-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.widget-card h2 {
    font-size: 32px !important;
    margin-bottom: 5px !important;
}

.widget-card p {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -264px;
    }

    #sidebar.active {
        margin-left: 0;
    }

    .navbar {
        padding: 10px 20px;
    }

    .main-content {
        padding: 0 15px 15px 15px;
    }
}

/* ========================================
   RFI DETAIL VIEW - MODERN DESIGN
   ======================================== */

.rfi-detail-container {
    margin: 0 auto;
    width: 100%;
}

/* Header Bar */
.rfi-header-bar {
    background: linear-gradient(135deg, #404E67 0%, #6F86D6 100%);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(64, 78, 103, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rfi-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rfi-title {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.rfi-id-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.rfi-status-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rfi-status-display ion-icon {
    font-size: 24px;
}

.rfi-status-display.status-awaiting {
    color: #856404;
}

.rfi-status-display.status-responded {
    color: var(--status-responded);
}

.rfi-status-display.status-resolved {
    color: var(--status-resolved);
}

.rfi-status-display.status-additional-info {
    color: #856404;
}

.rfi-status-display.status-lodged {
    color: var(--status-lodged);
}

/* Content Grid */
.rfi-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.rfi-left-column,
.rfi-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Meta Card */
.rfi-meta-card {
    padding: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

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

.meta-item ion-icon {
    font-size: 20px;
    color: var(--primary-color);
}

.meta-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.meta-item a:hover {
    text-decoration: underline;
}

/* Description Card */
.rfi-description-card {
    flex-grow: 1;
    /* Remove any default min-height if present */
    min-height: auto;
}

.rfi-description-text {
    line-height: 1.6;
    color: #555;
    font-size: 15px;
    margin-bottom: 0;
    /* Remove bottom margin to reduce whitespace */
}

/* Actions Card */
.rfi-actions-card {
    padding: 20px;
}

.status-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.status-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.status-action-btn ion-icon {
    font-size: 28px;
}

.status-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.status-action-btn.status-responded {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

.status-action-btn.status-resolved {
    background: linear-gradient(135deg, #28a745, #218838);
}

.status-action-btn.status-moreinfo {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #333;
}

.status-action-btn.status-lodged {
    background: linear-gradient(135deg, #6c757d, #545b62);
}

/* Image Card */
.rfi-image-card {
    padding: 20px;
    height: fit-content;
}

.rfi-image-wrapper {
    margin-top: 10px;
}

.rfi-site-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.rfi-site-image:hover {
    transform: scale(1.02);
}

.rfi-no-image {
    padding: 60px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    color: var(--text-muted);
    margin-top: 10px;
}

.rfi-no-image ion-icon {
    font-size: 64px;
    opacity: 0.3;
    margin-bottom: 10px;
}

/* Discussion Card */
.rfi-discussion-card {
    padding: 25px;
}

.chat-messages {
    min-height: 200px;
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.chat-message {
    margin-bottom: 16px;
    display: flex;
}

.chat-message.message-mine {
    justify-content: flex-end;
}

.chat-message.message-other {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 70%;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
}

.message-mine .message-bubble {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-other .message-bubble {
    background: white;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.message-bubble p {
    margin: 0 0 8px 0;
}

.message-footer {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    opacity: 0.8;
    margin-top: 6px;
}

.message-mine .message-footer {
    color: rgba(255, 255, 255, 0.9);
}

.message-other .message-footer {
    color: #666;
}

.no-messages {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
}

.no-messages ion-icon {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 10px;
}

/* Chat Input */
.chat-input-wrapper {
    margin-top: 20px;
}

.chat-form {
    display: flex;
    width: 100%;
}

.input-group {
    display: flex;
    gap: 12px;
    width: 100%;
}

.chat-input {
    flex-grow: 1;
    border-radius: 25px;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    font-size: 14px;
    resize: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
    height: 44px !important;
    min-height: 44px;
    max-height: 150px;
    overflow-y: hidden;
    /* Hide scrollbar initially */
    line-height: 1.4;
}

.chat-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(64, 78, 103, 0.1);
    outline: none;
}

.send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #404E67, #6F86D6);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.send-btn ion-icon {
    font-size: 20px;
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(64, 78, 103, 0.3);
}

/* Footer */
.rfi-footer {
    margin-top: 30px;
}

.rfi-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Responsive RFI Detail */
@media (max-width: 992px) {
    .rfi-content-grid {
        grid-template-columns: 1fr;
    }

    .status-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rfi-header-bar {
        flex-direction: column;
        gap: 20px;
    }

    .rfi-header-left {
        flex-direction: column;
        text-align: center;
    }

    .rfi-title {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .status-actions-grid {
        grid-template-columns: 1fr;
    }

    .message-bubble {
        max-width: 85%;
    }
}

/* ========================================
   DASHBOARD STYLES
   ======================================== */

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

.dashboard-header h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

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

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.section-header h2 ion-icon {
    font-size: 28px;
    color: var(--primary-color);
}

.widget-card h2 {
    font-size: 38px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.widget-card p {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Enhanced Project Cards */
.project-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.project-header ion-icon {
    font-size: 32px;
    color: var(--primary-color);
}

.project-header h3 {
    margin: 0 !important;
}

.project-description {
    min-height: 60px;
    margin-bottom: 20px !important;
    line-height: 1.6;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.project-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-muted);
}

.stat-item ion-icon {
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

.empty-state {
    padding: 60px 20px;
    text-align: center;
}

.empty-state ion-icon {
    font-size: 64px;
    color: rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.empty-state p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ========================================
   PROJECT DETAIL STYLES
   ======================================== */

.project-detail-container {
    margin: 0 auto;
    width: 100%;
}

.project-header-card {
    background: linear-gradient(135deg, #404E67 0%, #6F86D6 100%);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(64, 78, 103, 0.2);
}

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

.project-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.project-title-section ion-icon {
    font-size: 48px;
    color: white;
}

.project-title-section h1 {
    font-size: 32px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.project-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 5px 0 0 0 !important;
}

.project-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

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

.section-title h2,
.section-title h3 {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.section-title ion-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.badge-count {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-icon ion-icon {
    font-size: 20px;
}

/* RFI List Items */
.rfi-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rfi-list-item {
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.rfi-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.rfi-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.rfi-item-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rfi-item-title h3 {
    font-size: 16px;
    margin: 0;
    color: var(--primary-color);
}

.rfi-id {
    background: var(--bg-color);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.rfi-description {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.rfi-item-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item ion-icon {
    font-size: 16px;
}

/* Documents Card */
.documents-card {
    padding: 20px;
}

.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 8px;
    background: var(--bg-color);
    border-radius: 6px;
    transition: all 0.3s;
}

.document-item:hover {
    background: #e8eef3;
}

.document-item ion-icon {
    font-size: 20px;
    color: var(--primary-color);
}

.document-item a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    word-break: break-all;
}

.document-item a:hover {
    color: var(--primary-color);
}

.empty-docs {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

.empty-docs ion-icon {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 10px;
}

/* Stats Summary */
.stats-summary-card {
    padding: 20px;
}

.stats-summary-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.stat-row:last-child {
    border-bottom: none;
}

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

.stat-row strong {
    color: var(--primary-color);
    font-size: 16px;
}

.project-footer {
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    .project-content-grid {
        grid-template-columns: 1fr;
    }

    .project-header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .project-title-section {
        flex-direction: column;
        text-align: center;
    }
}

/* Activity Log Styles */
.activity-timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #f0f0f0;
    margin-left: 10px;
    margin-top: 15px;
}

.activity-item {
    position: relative;
    margin-bottom: 20px;
}

.activity-icon {
    position: absolute;
    left: -29px;
    /* Adjust based on icon size and border */
    top: 0;
    background: white;
    padding: 5px;
    color: var(--primary-color);
    font-size: 16px;
    border-radius: 50%;
    border: 1px solid #eee;
}

.activity-content {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
}

.activity-details {
    font-size: 13px;
    margin: 0 0 5px 0;
    color: #333;
}

.activity-time {
    font-size: 11px;
    color: #999;
}

/* ========================================
   MODERN LOGIN & LANDING PAGE REDESIGN
   ======================================== */

:root {
    --glass-bg: rgba(15, 23, 42, 0.75);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --neon-blue: #00f3ff;
    --dark-bg: #0b1120;
}

body.login-page {
    background: url('../images/security-bg.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-family: 'Inter', 'Poppins', sans-serif;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 3rem;
    color: white;
    max-width: 450px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect */
.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.glass-card>* {
    position: relative;
    z-index: 1;
}

.glass-card h1,
.glass-card h2 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.glass-card p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.glass-card .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.glass-card label {
    display: block;
    margin-bottom: 0.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

.glass-card input.form-control,
.glass-card input[type="text"],
.glass-card input[type="password"],
.glass-card input[type="email"] {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.glass-card input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 3px rgba(0, 243, 255, 0.15);
    background: rgba(0, 0, 0, 0.6);
}

.glass-card .btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.glass-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    filter: brightness(1.1);
}

.glass-card a {
    color: var(--neon-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.glass-card a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* Logo styling for dark bg */
.glass-card .logo-container {
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

/* Hide sidebar and navbar on login page */
body.login-page #sidebar,
body.login-page .navbar,
body.login-page .footer {
    display: none !important;
}

body.login-page #content {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.login-page .wrapper {
    width: 100%;
    justify-content: center;
}