﻿
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root {
    --primary-color: #2e3192; /* Example color value */
    --secondary-color: #f07d0e;
   /*--background-light: #ecf0f1;*/
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /*font-family: 'Roboto', sans-serif;*/
    /*font-family: 'Inter', system_ui, sans-serif;*/
    font-family: 'Inter', system_ui, sans-serif;
}

.hero-bg {
    background: linear-gradient(rgba(30, 64, 175, 0.85), rgba(30, 64, 175, 0.9)), url('/Liberary/GetCover.jpg') center/cover no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.solution-card {
    transition: all 0.3s ease;
    border: none;
}

    .solution-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
    }

.why-card {
    transition: all 0.3s ease;
}

    .why-card:hover {
        transform: translateY(-8px);
    }

.faq-question {
    cursor: pointer;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
}


.header {
    background: linear-gradient(135deg, #003087, #00a1e0);
    color: white;
    padding: 40px 20px;
}

.card-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    border-left: 5px solid #003087;
}

.summary {
    position: sticky;
    top: 20px;
}

.login-container {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 350px;
    text-align: center;
}

    .login-container img {
        width: 120px;
        margin-bottom: 25px;
    }

    .login-container h2 {
        margin-bottom: 25px;
        color: var(--primary-color);
    }

    .login-container input[type="text"],
    .login-container input[type="email"],
    .login-container input[type="password"] {
        width: 100%;
        padding: 12px 15px;
        margin: 10px 0;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 14px;
        transition: 0.3s;
    }

    .login-container input:focus {
        border-color: var(--primary-color);
        outline: none;
        box-shadow: 0 0 5px rgba(46,49,146,0.5);
    }

    .login-container button {
        width: 100%;
        padding: 12px;
        margin-top: 15px;
        background-color: var(--primary-color);
        color: #fff;
        font-size: 16px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: 0.3s;
    }

        .login-container button:hover {
            background-color: var(--secondary-color);
        }

    .login-container .footer-text {
        margin-top: 20px;
        font-size: 13px;
        color: #888;
    }

        .login-container .footer-text a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
        }

@media (max-width: 400px) {
    .login-container {
        width: 90%;
        padding: 30px 20px;
    }
}

/*Navigation*/
.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.nav-link.active {
    color: var(--primary-color) !important;
    position: relative;
}

    .nav-link.active::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--secondary-color);
        border-radius: 2px;
    }

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.dropdown-item.active, .dropdown-item:active{
    background-color: var(--secondary-color) !important
}

/*Modal*/
.notification-dropdown {
    width: 340px; /* fixed nice width */
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden; /* removes the horizontal scrollbar */
    padding: 0;
}

    .notification-dropdown .dropdown-header {
        background-color: #f8f9fa;
        font-size: 0.9rem;
        padding: 12px 16px;
        border-bottom: 1px solid #eee;
    }

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f1f1;
    white-space: normal; /* allows text to wrap */
    cursor: pointer;
}

    .notification-item:hover {
        background-color: #f8f9fa;
    }

    .notification-item .title {
        font-weight: 600;
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .notification-item .message {
        font-size: 0.82rem;
        color: #6c757d;
        margin-bottom: 0;
    }

    .notification-item .time {
        font-size: 0.75rem;
        color: #adb5bd;
    }

.notification-dropdown {
    width: 360px !important;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden !important;
    padding: 0;
}

    .notification-dropdown .dropdown-item {
        white-space: normal !important; /* ← most important line */
        padding: 12px 16px;
        border-bottom: 1px solid #f1f1f1;
    }

    .notification-dropdown .notification-title {
        font-weight: 600;
        font-size: 0.92rem;
        margin-bottom: 3px;
        color: #212529;
    }

    .notification-dropdown .notification-message {
        font-size: 0.82rem;
        color: #6c757d;
        line-height: 1.35;
    }

    .notification-dropdown .unread {
        background-color: #f0f7ff;
    }

    .notification-dropdown .dropdown-header {
        position: sticky;
        top: 0;
        background: #f8f9fa;
        z-index: 2;
        padding: 12px 16px;
        font-weight: 600;
        border-bottom: 1px solid #e9ecef;
    }
@media (max-width: 992px) {
    .dropdown-menu-end[data-bs-popper] {
        right: 0;
        left: 0 !important;
        width: max-content !important;
    }
  }
/*Create user*/
/* Background */
html, body {
    height: 100%;
}
body {
    background-color: #f8f9fa;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}

/* Modern Input */
.modern-input {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    transition: all 0.2s ease-in-out;
    box-shadow: none !important;
}

    .modern-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(46, 49, 146, 0.08);
    }

/* Remove Bootstrap blue */
.form-control:focus,
.form-select:focus {
    box-shadow: none !important;
}

/* Label Styling */
.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
}

/* Save Button f*/
.save-btn {
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    transition: 0.2s;
}

    .save-btn:hover {
        background: #242778;
        color: white;
    }

.cbtn:hover{
    background-color: var(--secondary-color) !important
}
/*Insurance listing page*/
.policy-card {
    background: white;
    border-radius: 14px;
    padding: 22px;
    border: 1px solid #eef1f6;
    transition: 0.25s;
    height: 100%;
}

    .policy-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

.policy-title {
    font-weight: 600;
    color: #1d2b4f !important;
    font-size: 18px;
}

.policy-desc {
    font-size: 14px;
    color: #6c757d !important;
}

.policy-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.policy-meta {
    font-size: 13px;
    color: #7b8794 !important;
}

.btn-brand {
    background: var(--primary-color) !important;
    color: white !important;
    border: none;
}

    .btn-brand:hover {
        background: #1e2170 !important;
        color: white !important;
    }

.filter-bar {
    background: white;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #e8edf3;
}
/*Buy insurance*/
.step {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-bottom: 2px solid #ddd;
    font-size: 14px;
    color: #999;
}

    .step.active {
        border-color: #2e3192;
        color: #2e3192;
        font-weight: 600;
    }

