/* Root Variables */
:root {
    --blue: #007bff;
    --white: #ffffff;
    --orange: #ff851b;
    --dark: #343a40;
    --light-gray: #adb5bd;
    --border-gray: #ced4da;
    --hover-blue: #0056b3;
    --hover-orange: #e76f00;
    --shadow: rgba(0,0,0,0.1);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    color: #333;
    background-image: url('/images/bg2.png');
    background-size: 250vh 900vh;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh; /* Full viewport height */
    overflow-x: hidden; /* Prevent horizontal scroll */
}


/* Header Styles */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark);
    color: var(--white);
    padding: 0.75rem 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

header h1 {
    margin: 0;
}

header a {
    color: var(--white);
    text-decoration: none;
}

header a:hover {
    text-decoration: underline;
}

/* Wrapper to handle sticky header/footer */
.page-wrapper {
    display: flex;
    flex-direction: column;
    /* min-height: 100vh; */
}

/* Main content: fills space between header and footer */
.main-content2 {
    flex: 1;
    display: flex;
    justify-content: center;  /* horizontal center */
    align-items: center;      /* vertical center */
    padding: 2em 10em;
}

/* Container Styles */
.app-container {
    flex: 1 0 auto; /* Grow and shrink to fill space above footer */
    width: 75%;
    margin: 0 0 2em 0;
    padding: 3em;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 0 10px var(--shadow);
    background: rgba(255, 255, 255, 0.918); /* Optional: slightly transparent background for content */
    word-wrap: break-word; /* prevent overflow from long text */

}

/* Footer Styles */
footer {
    flex-shrink: 0; /* Prevent footer from shrinking */
    position: fixed;
    text-align: center;
    background-color: var(--dark);
    color: var(--white);
    bottom: 0;
    width: 100%;
    height: auto;
    padding: 1rem 1rem;
    margin-top: 2%;
    font-size: 0.7em;
    z-index: 100;

}

footer p {
    margin: 0;
    width: 100%; /* Ensure p takes up full width of its container */
    font-size: x-small;
}

.login-form{
    max-width: 85%;
    margin: auto;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
}

.form-group select {
    width: 95%;
    padding: 8px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
}


.form-group button {
    background-color: var(--blue);
    color: var(--white);
    border: none;
    padding: 1em 7em;
    border-radius: 4px;
    cursor: pointer;
}

.alert-danger {
    color: red;
    /* background-color: #edd4d4; */
    background-color: #fee2e2;
    border-color: #e6cbc3;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-success {
    color: #048522;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}


.btn-info {
    background-color: #209cee;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }

  .btn-info:hover {
    background-color: #1177cc;
  }


.navbar-brand .brand {
    display: flex;
    align-items: center; /* Centers items vertically */
    text-decoration: none; /* Removes underline from link */
    transition: color 0.3s ease, background-color 0.3s ease; /* Smooth transition for color changes */
}

.brand-logo {
    height: 40px; /* Adjust as needed */
    margin-right: 10px; /* Space between the image and text */
}

.till-payment-img{
    width: 15em;
    height: auto;
}

.brand-text {
    font-size: 1rem; /* Adjust text size as needed */
    color: #ffffff; /* Adjust text color as needed */
}

.brand {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
}

.navbar-brand.brand:hover {
    color: #ff851b; /* Lighter orange on hover */
}

.nav-right{
    margin-right: 5%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-group button:hover {
    background-color: var(--hover-blue);
}

/* Text Alignment Styles */
.text-center {
    text-align: center;
}

/* Link Styles */
.link {
    color: var(--blue);
    text-decoration: none;
}

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

/* Sidebar Navigation Styles */
.nav-item .nav-link {
    padding: 0.5rem 1rem;
}

#inventorySubmenu, #procurementSubmenu {
    padding-left: 1.2rem;
    margin-left: -1em;
}

#inventorySubmenu .nav-item , procurementSubmenu .nav-item{
    border-bottom: 1px solid #727477;
    border-top: 1px solid #727477;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    width: 300px;
}

.plan-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    font-size: 1rem;
    color: #005fee; /* Change as needed */
    margin-bottom: 15px;
}

.features {
    padding: 0 0 0 30px;
    margin: 0 0 20px 0;
    text-align: left;
}

.features li {
    margin: 10px 0;
}

.btn-secondary {
    background-color: #6c757d; /* Gray background */
    color: #ffffff;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.pricing-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff9900;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-bottom: 1.5em;
}

.current-plan, .customize-btn{
    background-color: #0051ff;
}

.customize-btn:hover {
    background-color: #e29b00 !important;
}

.downgrade-btn{
    background-color: #ff0000;
}
.downgrade-btn:hover {
    background-color: #e60000 !important;
}

.pricing-btn:hover {
    background-color: #0051ff;
}

.featured {
    border: 2px solid #e76f00; /* Highlighted border */
    background: rgba(76, 175, 80, 0.1); /* Light background for featured */
}

.change-plan-section {
    padding: 40px 20px;
    background-color: #f8f8f8; /* Light background for contrast */
    border-top: 1px solid #ddd; /* Subtle top border */
}

.change-plan-section h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.change-plan-section p {
    margin: 2em 0;
    color: #555; /* Darker text for readability */
}

.btn-change-plan {
    padding: 1em 5em;
    background-color: #e76f00; /* Change as needed */
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin: 1em 0;
}

.btn-change-plan:hover {
    background-color: #343a40; /* Darker shade for hover effect */
}

.policy-form-group{
    padding-bottom: 10px;
}
.signup-form-group button{
    width: 95%;
    padding: 1em 1em !important;
}

.signup-form-group input{
    width: 95%;
}

/* Custom styling for the email logs page */
.page-title {
    font-size: 2rem;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.email-logs-table {
    margin: 0 auto;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
}

.email-logs-table table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

.email-logs-table th, .email-logs-table td {
    padding: 12px 15px;
    text-align: left;
}

.email-logs-table th {
    background-color: #4a76a8;
    color: #fff;
}

.email-logs-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.email-logs-table tr:last-child {
    border-bottom: none;
}

.email-logs-table .btn-reply-toggle {
    background-color: #4a76a8;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.email-logs-table .btn-open-toggle {
    background-color: #ff9900;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 5px;
}

.email-logs-table .btn-close{
    background-color: #c02d00;
}

.email-logs-table .btn-reply-toggle:hover {
    background-color: #365f8a;
}

.reply-row {
    display: none;
}

.reply-form {
    margin-top: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
}

.reply-form textarea {
    width: 98%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.full-message {
    display: none;
    margin-top: 10px;
}

.expand-message {
    color: #4a76a8;
    cursor: pointer;
    font-size: 0.9rem;
}

.expand-message:hover {
    text-decoration: underline;
}

.td-wrap-text {
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words if necessary */
    max-width: 200px; /* Set a maximum width to prevent overflow */
}

.replies {
    margin-top: 10px;
    padding-left: 20px;
    border-left: 2px solid #fa8e00; /* Optional styling */
}

.replies ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
}

.btn-primary {
    background-color: #007bff; /* Blue background */
    color: #ffffff;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.btn-danger {
    background-color: #dc3545; /* Blue background */
    color: #ffffff;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-danger:hover {
    background-color: #c82333;
}

.resolved {
    color: #37a30d;
}

tr.end-chat {
    border-bottom: 4px solid #dc3545;
}

.fix-form{
    padding: 0 !important;
    box-shadow: 0 0;
    margin-top: 2px;
}

.reply-end-btns
{
    display: flex;
    justify-content: space-between;
}

.table-container {
    width: 100%;
    overflow-x: auto; /* Enables horizontal scrolling */
}

/* Tenant Management Styles */
.tenants-table {
    margin: 1.5rem auto;
    width: 100%;
    max-width: 1200px;
}

.tenants-table h1.page-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
}

/* Alert styling for success messages */
.tenants-table .alert-success {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

/* Main tenants table styling */
.tenants-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.tenants-table thead tr {
    background-color: #f8f9fa;
    text-align: left;
    font-weight: bold;
    color: #333;
}

.tenants-table th, .tenants-table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
}

.tenants-table tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.tenants-table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Users table inside tenants */
.tenants-table .users-row td {
    background-color: #fefefe;
    padding: 1rem;
    border: none;
}

.tenants-table .users-row table {
    width: 100%;
    border: 1px solid #ddd;
    margin-top: 0.5rem;
    border-collapse: collapse;
}

.tenants-table .users-row table th,
.tenants-table .users-row table td {
    padding: 0.5rem;
    text-align: left;
    border: 1px solid #ddd;
    font-size: 0.85rem;
}

.tenants-table .users-row table thead {
    background-color: #f3f4f6;
    color: #333;
}

/* Buttons styling */
.tenants-table .btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.tenants-table .btn-view-users {
    background-color: #007bff;
    color: #fff;
}

.tenants-table .btn-view-users:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.tenants-table .btn-view-vendors {
    background-color: #28a745;
    color: #fff;
}

.tenants-table .btn-view-vendors:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.tenants-table .btn-danger {
    background-color: #dc3545;
    color: #fff;
}

.tenants-table .btn-danger:hover {
    background-color: #b52a37;
    transform: scale(1.05);
}

.pricing-toggle{
    display: flex;
    flex-direction: column;
}

/* Flat Toggle */
.toggle-container {
    display: flex;
    font-family: Arial, sans-serif;
    justify-content: center;
    align-items: center;
    text-align: start;
}

/* .toggle-container span {
    flex: 1;
    text-align: center;
} */


.toggle-checkbox {
    display: none;
}

.toggle-slider {
    width: 60px;
    height: 1.5em;
    background-color: #bbb;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-slider::before {
    content: "";
    position: absolute;
    top: 0.1em;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: white;
    transition: transform 0.3s ease;
}

.toggle-checkbox:checked + .toggle-slider {
    background-color: #ff851b;
}

.toggle-checkbox:checked + .toggle-slider::before {
    transform: translateX(30px); /* Move knob to the right */
}

.toggle-text {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.toggle-text:hover {
    color: #e76f00;
}

/* Highlight the active text */
.toggle-text.active {
    color: #ff851b; /* Green color when active */
    text-decoration: none; /* Remove underline on active text */
    cursor: default; /* Remove the pointer cursor on active text */
    pointer-events: none; /* Disable click on active text */
}

/*----------------------------------------------------------------
Confirm payment blade*/
.divider{
    border: none;
    height: 1px;
    background-color: #ffa600;
    margin: 30px 0;
}

.plan-confirmation-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #ff6f20, #007bff);
    margin: -3em;
    border-radius: 8px;
}
.flex-container {
    display: flex;
    justify-content: space-between; /* Space between items */
    align-items: flex-start; /* Align items at the start */
}
.flex-item {
    flex: 1; /* Allow items to grow */
    margin: 0 20px; /* Margin between items */
}
.plan-summary, .addons-section {
    background-color: #fff;
    color: #333;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.plan-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.plan-price {
    font-size: 1.5rem;
    color: #6e45e2;
    margin-bottom: 20px;
}
.plan-features {
    list-style: none;
    padding: 0;
}
.plan-features li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.plan-features li::before {
    content: '\2713'; /* Unicode for checkmark (✓) , Bullet points: • (\2022), Right Arrow: → (\2192) , Star: ★ (\2605),  Font Awesome check icon - content: '\f00c';*/
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}
.fancy-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-no-shaddow{
    box-shadow: none !important;
}

.fancy-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #6e45e2;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 1rem;
}
.fancy-btn {
    display: inline-block;
    background-color: blue;
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.fancy-btn:hover {
    background-color: #5437d6;
}
.payment-options {
    margin: 2em 0;
}
.payment-method {
    margin: 10px 0;
    font-size: 1.1rem;
}

.info-text{
    font-size: 0.9rem;
}

.hor-btns{
    display: flex;
    gap: 2em;
}
.org-photo {
    width: 150px; /* Fixed width */
    height: 100px; /* Fixed height */
    border-radius: 10%; /* Circular photo */
    object-fit: contain; /* Preserve aspect ratio without cropping */
}
.table-responsive {
    overflow-x: auto; /* Add horizontal scrolling if needed */
    max-width: 100%; /* Prevent table from exceeding parent container width */
}
 /* Table Styling */
 .custom-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-table th {
    background: #2c3e50;
    color: #fff;
    padding: 12px;
    text-align: left;
}

.custom-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.custom-table tr:nth-child(even) {
    background: #f8f9fa;
}

.custom-table tr:hover {
    background: #ecf0f1;
    transition: background 0.3s;
}

/* Status Badge */
.badge {
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: capitalize;
}

/* Buttons */
.btn-custom {
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-preview { background: #3498db; color: white; }
.btn-preview:hover { background: #2980b9; }

.btn-download { background: #2ecc71; color: white; }
.btn-download:hover { background: #27ae60; }

.btn-delete { background: #e74c3c; color: white; border: none; cursor: pointer; }
.btn-delete:hover { background: #c0392b; }

/* Pagination */
.pagination-custom {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.pagination-custom a {
    padding: 8px 12px;
    margin: 0 4px;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.pagination-custom a:hover {
    background: #1a252f;
}
/* Button container styles */
/* Button container for vertical alignment */
.button-container-vertical {
    display: flex;
    flex-direction: column; /* Align buttons top to bottom */
    gap: 10px; /* Add spacing between buttons */
    align-items: flex-start; /* Align buttons to the left */
}
.pro-plan, .basic-plan, .premium-plan{
    background: linear-gradient(135deg, #ff6f20, #007bff);
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.feature-divider {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #007bff;
    margin-left: 3em;
}

/* Wrapper for dropdown */
.signin-dropdown, .nav-dropdown {
    position: relative;
    display: inline-block;
    padding: 2em 0 1em 0;
}

/* Toggle link */
.signin-toggle, .nav-toggle {
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.signin-toggle:hover, .app-nav-toggle:hover {
    /* background-color: #f0f0f0; */
    color: #e76f00;
}

/* Dropdown menu */
.signin-menu, .app-nav-menu {
    display: none;
    position: absolute;
    top: 85%;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    min-width: 160px;
    z-index: 1000;
}

/* Menu items */
.signin-item, .app-nav-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
}

.signin-item:hover, .app-nav-item:hover {
    background-color: #f5f5f5;
    color: #e76f00;
}

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

.custom-app-btn{
    margin: 5px;
}
/*--------------------------------------------------------------

/* Alerts */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

/* Form labels and inputs */
.form-label {
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #374151;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.5rem 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin: 5px;
    width: 80%;
}

.form-control-fix{
    margin: 0 !important;
}

.form-control:focus, .form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
    outline: none;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    /* padding: 0.45rem 0.9rem; */
    transition: all 0.2s;
}

.btn-outline-primary {
    color: #3b82f6;
    border-color: #3b82f6;
}

.btn-outline-primary:hover {
    background-color: #3b82f6;
    color: #fff;
}

.btn-success {
    background-color: #10b981;
    border-color: #10b981;
    color: #fff;
}

.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
}

/* Rule & Action blocks */
.rule, .action {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background-color: #f9fafb;
    position: relative;
}

/* Remove buttons for rules/actions */
.rule .remove-btn, .action .remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #ef4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.rule .remove-btn:hover, .action .remove-btn:hover {
    background-color: #b91c1c;
}

/* Email params */
.email-params {
    background-color: #eef2ff;
    border-radius: 8px;
    padding: 0.8rem;
    margin-top: 0.5rem;
}

/* Spacing for multiple rules/actions */
#rules-container .rule + .rule,
#actions-container .action + .action {
    margin-top: 1rem;
}

.tenant-table-td{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1.2em;
}

table .tenant-table-td{
    padding: 2em;
}

.features li:nth-child(1){
    margin: 0 1em 0 -0.8em;
    text-align: center ;
    list-style-type: none;
}

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

.mfa-form{
    max-width: 80%;
}

.mfa-form button{
    margin-top: 2em;
}


.auth-container {
    display: flex;
    min-height: 100vh;
}

.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* .auth-left-content {
    max-width: 90%;
}
*/

.brand-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-style: italic;
    opacity: 0.9;
}

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

.features-list li {
    margin: 10px 0;
    font-size: 1.1rem;
}

.highlight {
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.1rem;
}

.auth-right {
    flex: 1;
    padding: 60px;
    background: #f8f9fa;
    word-wrap: normal;
    align-self: center;
}

.img-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.img-logo {
    max-width: 100%;   /* adjust size as needed */
    height: auto;
    border-radius: 12px; /* optional for rounded corners */
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.2); fancy shadow */
}

.feature-highlight {
    background-color: #f9fafb;     /* light gray background */
    border: 2px solid #e5e7eb;     /* subtle border */
    border-radius: 16px;           /* rounded corners */
    padding: 2rem;                 /* spacing inside */
    margin: 2.5rem 0;              /* spacing outside */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* soft shadow */
    text-align: center;            /* center align everything */
}

.feature-highlight h2 {
    font-size: 1.75rem;
    color: #1e3a8a;                /* deep indigo */
    margin-bottom: 1rem;
}

.feature-highlight p {
    font-size: 1.1rem;
    color: #374151;                /* neutral dark gray */
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-highlight img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}


.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2a4d8f;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-card p {
    color: #444;
    line-height: 1.6;
}

.summary-box, .confirm-plan-summary-box {
    background: #f4f8ff;
    border-left: 4px solid #2a4d8f;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 6px;
}

.reg-summary-box, .login-highlight, .plan-highlight{
    background: #1e3c72;
    border-left: 4px solid #ff851b;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 6px;
}
.summary-box h3 {
    margin: 0 0 8px 0;
    color: #2a4d8f;
}
.highlight {
    background: #fff9e6;
    border: 1px solid #ffe58f;
    padding: 12px 16px;
    margin: 20px 0;
    border-radius: 6px;
    font-weight: 500;
}
.comparison {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.95rem;
}
.comparison th, .comparison td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}
.comparison th {
    background: #2a4d8f;
    color: #fff;
}
.comparison tbody tr:nth-child(even) {
    background: #f9f9f9;
}
.cta-box {
    background: linear-gradient(135deg, #2a4d8f, #3f6ac8);
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    margin: 40px 0;
}
.cta-btn {
    display: inline-block;
    margin-top: 12px;
    background: #fff;
    color: #2a4d8f;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}
.cta-btn:hover {
    background: #f4f8ff;
}


/* Responsive tweaks */
@media (max-width: 768px) {
    .app-container {
        width: 95%;
        padding: 15px;
    }

    body{
        background-size: 250vh 940vh !important;
    }

    footer{
        font-size: 0.48em !important;
        padding: 1rem 0 !important;
    }

    .auth-container {
        flex-direction: column;
    }

    .auth-left {
        display: none; /* Hide info section */
    }

    .auth-right {
        flex: none;
        padding: 0;
        background: none;
    }

    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1em;
        padding: 1em 0;
    }
    header h1 {
        font-size: 1rem;
    }
    .main-content2 {
        padding: 2em !important;
    }
    .form-group input{
        width: 90% !important;
    }

    .form-group select {
        width: 90% !important;
    }

    .tenants-table h1.page-title {
        font-size: 1.5rem;
    }

    .tenants-table table, .tenants-table .users-row table {
        font-size: 0.8rem;
    }

    table .tenant-table-td{
        padding: 2em;
    }

    .pricing-cards{
        flex-direction: column;
        gap: 1.5em;
    }

    .pricing-card{
        padding: 0 !important;
    }

    .flex-container{
        flex-direction: column;
    }

    .plan-confirmation-section{
        margin: -1em !important;
    }
    .features li:nth-child(1){
        margin: 0 1em 0 -1em;
        text-align: center ;
    }

    .toggle-slider{
        width: 65px;
    }

    .signin-dropdown, .nav-dropdown{
        padding: 0 !important;
    }

    .signin-toggle, .nav-toggle{
        padding-bottom: 0 !important;
    }
}

