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

:root {
    --app-bg-soft: #ffffff;
    --app-bg-accent: #ffffff;
    --app-surface: #ffffff;
    --app-surface-muted: #f9f9f9;
    --app-text: #1a1a1a;
    --app-text-muted: #666666;
    --app-border: #e0e0e0;
    --app-primary: #0f6ddf;
    --app-primary-strong: #0a58b6;
    --app-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body{
    background: #ffffff !important;
    color: var(--app-text);
    font-family: 'Manrope', sans-serif;
    font-size:14px;
    display:flex;
    flex-direction:column;
    min-height:100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.01em;
}

.container-fluid,
.container {
    position: relative;
    z-index: 1;
}

.card,
.quote-dis,
.email-content.tbl>table {
    background: var(--app-surface) !important;
    border: 1px solid var(--app-border);
    box-shadow: var(--app-shadow);
    border-radius: 12px;
}

form {
    background: var(--app-surface);
    border: 1px solid rgba(219, 229, 244, 0.9);
    border-radius: 14px;
    padding: 18px;
}

form .row {
    margin-top: 0;
}

.label,
.l-label,
label {
    color: var(--app-text) !important;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.form-control,
.form-select,
textarea,
input,
select {
    border: 1px solid var(--app-border) !important;
    border-radius: 10px !important;
    min-height: 38px;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus,
textarea:focus,
input:focus,
select:focus {
    border-color: var(--app-primary) !important;
    box-shadow: 0 0 0 3px rgba(15, 109, 223, 0.15) !important;
}

textarea.form-control,
textarea {
    min-height: 110px;
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--app-primary), var(--app-primary-strong)) !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(15, 109, 223, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #0d63ca, #094d9e) !important;
}

.btn-secondary {
    background: #f5f5f5 !important;
    border: 1px solid var(--app-border) !important;
    color: var(--app-text) !important;
}

.btn-secondary:hover {
    background: #e8e8e8 !important;
}

.table {
    border-radius: 10px;
    overflow: hidden;
}

.page-item.active .page-link {
    background-color: var(--app-primary) !important;
    border-color: var(--app-primary) !important;
}
.logo{
    width:150px;
}
.navbar-toggler{
    background-color:#1a4496 !important;
}
.text-blue{
    color:#1a4496 !important;
}

.navbar{
    border-bottom:1px solid #e1e1e1;
}

footer {
border-top:1px solid #e1e1e1;
  /*position: fixed;*/
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
}

.font-size-14{
    font-size:14px;
}
.title, .email-content.tbl>h2{
    font-size:20px;
    margin:15px 0px;
}

.sub-title{
    font-size:18px;
    margin:15px 0px;
}

.mb-6{
    margin-bottom:3rem !important;
}

.page-item.active{
    z-index:0 !important;
}

@media (min-width:766px){
 .float-right{
     float:right;
 }
 .position-relative .btn{
    position:absolute;
    bottom:0;
}
}
.table-striped>tbody>tr:nth-of-type(odd){
    --bs-table-accent-bg:#fff !important;
}
.table>:not(:last-child)>:last-child>* {
    border-bottom-color: #dee2e6;
}

th{
 background-color:#26ace2 !important;
 color:#fff !important;
 font-weight:500;
 padding:0.2rem 0.5rem !important;
 text-transform:uppercase !important;
}
th, td{
    font-size:14px;
}

.th-right{
    border-right:1px solid #fff;
}

.icon{
    color:#fff;
    padding:0.2rem 0.4rem;
    border-radius:3px;
    font-size:12px;
}
.icon:hover{
    color:#fff !important;
}

.edit-icon{
    background:#26ace2;
}

.delete-icon{
    background:red;
}
.preview-icon{
    background:#E0E0E0;
}
.position-relative{
    position:relative;
}
.content{
   flex-grow: 1 !important; 
}

.quote-dis{
    background:#fff;
    padding:10px;
    border:1px solid #e7e7e7;
}

.header-blue{
    color:#26ace2;
}
.m-auto{
    margin:auto;
}

.rm-btn-mb{
    margin-bottom:5px !important;
}
/*.date-alg{*/
/*   position:absolute;*/
/*   right:2%;*/
/*   top:5%;*/
/*}*/

.h-100vh{
    min-height:100vh;
}

.w-400{
    width:400px;
}

.l-label{
    font-size: 12px !important;
    color: #333 !important;
    line-height: 22px;
}

.l-field{
    border: 1px solid #e0dfde !important;
    height: 35px !important;
    border-radius:5px;
    font-size: 12px !important;
}

.btn-sm{
    padding:5px 10px !important;
    border-radius:5px;
}

.l-card{
    border-radius: 10px;
    padding: 40px;
    background: #fffffff0 !important;
    border: 1px solid var(--app-border) !important;
    box-shadow: var(--app-shadow);
    /*background:#ffffff54 !important;*/
}


.login-bg {
    background:
    linear-gradient(145deg, rgba(7, 34, 75, 0.5), rgba(15, 109, 223, 0.28)),
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.18), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.14), transparent 34%),
    url('img/login-webinar-realistic.jpg') center center / cover no-repeat;
}

.login-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(7, 34, 75, 0.48), rgba(15, 109, 223, 0.26));
    pointer-events: none;
}

.login-bg .container {
    position: relative;
    z-index: 2;
}

.auth-link {
    color: var(--app-primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.form-error {
    color: #c81739;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .w-400 {
        width: 100%;
    }

    .l-card {
        padding: 20px;
    }

    form {
        padding: 14px;
    }
}
.l-logo{
    width:200px;
}

/* Show dropdown menu on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.navbar-nav .dropdown-menu {
  margin-top: 0;
  border-radius: 0.25rem;
}
.dropdown-item:active{
    color:#fff !important;
}

.dropdown-menu{
    font-size:14px;
    padding:0;
}
.mr-2{
    margin-right:10px;
}

.label{
    font-size:14px;
}

.bg-white{
    background:#fff !important;
}

.btn-info{
    color:#fff !important;
}
.bg-dark-blue{
    background:#0000ff !important;
    color:#fff !important;
}
.bg-dark-blue:hover{
    background:#0000ff9c !important;
    color:#fff !important;
}

.table>:not(:last-child)>:last-child>*{
    border-bottom-color: #fff !important;
}

.font-size-15{
    font-size:15px !important;
}

.email-content.tbl>table{
    width:100%;
    margin-bottom:15px;
    background-color: #fff !important;
}

.email-content.tbl td{
    padding:.5rem .5rem;
}

.email-content.tbl tr{
    border-bottom:1px solid #dee2e6;
}

.email-content.tbl th{
    border-right: 1px solid #fff;
}

/* Dashboard UI reskin overrides (kept in style.css for load-order safety) */
body.has-app-sidebar {
    background: linear-gradient(180deg, #f4f7fc 0%, #eef3fb 100%) !important;
    padding-top: 84px;
}

body.has-app-sidebar .container-fluid {
    max-width: 1400px;
    padding-left: 22px;
    padding-right: 22px;
}

.app-sidebar {
    background: #ffffff !important;
    border-right: 1px solid #dbe4f1 !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
}

.app-sidebar-link {
    color: #1e3a8a !important;
    border-radius: 999px !important;
    border-left: 0 !important;
}

.app-sidebar-link:hover,
.app-sidebar-link.active {
    text-decoration: none !important;
}

.app-sidebar-link:hover {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

.app-sidebar-link.active {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

.app-topbar {
    position: fixed;
    top: 0;
    left: 252px;
    right: 0;
    z-index: 1030;
    min-height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #dbe4f1;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.app-topbar-left,
.app-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-topbar-search {
    width: 280px;
    border-radius: 999px;
    border: 1px solid #d8e3f2;
    background: #f8fbff;
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}

.app-topbar-search .form-control {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.app-topbar-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #dbe4f1;
    border-radius: 999px;
    padding: 6px 10px;
    background: #fff;
}

.app-topbar-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2ecfb;
    color: #1d4ed8;
}

.app-topbar-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

body.has-app-sidebar .card,
body.has-app-sidebar .table,
body.has-app-sidebar form,
body.has-app-sidebar .alert,
body.has-app-sidebar .modal-content {
    border-radius: 12px !important;
    border: 1px solid #dbe4f1 !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
}

body.has-app-sidebar .table thead th,
body.has-app-sidebar th {
    background: #eef5ff !important;
    color: #1e3a8a !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 0.04em;
}

body.has-app-sidebar .table tbody tr:hover {
    background: #f8fbff !important;
}

body.has-app-sidebar .btn {
    border-radius: 10px !important;
    padding: 0.46rem 0.88rem !important;
}

body.has-app-sidebar .btn-primary {
    background: #2563eb !important;
    border-color: #2563eb !important;
}

body.has-app-sidebar .btn-secondary,
body.has-app-sidebar .btn-outline-primary,
body.has-app-sidebar .btn-light {
    background: #f8fbff !important;
    border: 1px solid #dbe4f1 !important;
    color: #1e3a8a !important;
}

body.has-app-sidebar .badge,
body.has-app-sidebar .status-badge,
body.has-app-sidebar .activity-type,
body.has-app-sidebar .access-status {
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

body.has-app-sidebar .summary-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    font-size: 1.1rem;
}

body.has-app-sidebar .status-active,
body.has-app-sidebar .badge-success {
    background: #dcfce7 !important;
    color: #166534 !important;
}

body.has-app-sidebar .status-upcoming,
body.has-app-sidebar .badge-warning {
    background: #fef3c7 !important;
    color: #92400e !important;
}

body.has-app-sidebar .status-expired,
body.has-app-sidebar .badge-danger {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

body.has-app-sidebar form.input-group {
    width: 100% !important;
    max-width: 660px;
    border: 1px solid #dbe4f1 !important;
    border-radius: 12px !important;
    padding: 10px !important;
    background: #fff !important;
}

body.has-app-sidebar form.input-group .form-control[name="search"] {
    border-radius: 999px !important;
}

@media (max-width: 991.98px) {
    body.has-app-sidebar {
        padding-top: 76px;
    }

    .app-topbar {
        left: 0;
        padding: 12px 12px 12px 56px;
    }

    .app-topbar-search {
        width: 172px;
    }

    .app-topbar-meta {
        display: none;
    }
}