:root {
    /* Variable for fixed navbar height used as top padding */
    --fixed-navbar-height: 72px;
    /* Variable for footer height used as bottom margin */
    --footer-height: 60px;
}




html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    padding-top: var(--fixed-navbar-height, 60px); /* Space for fixed navbar */
    margin-bottom: var(--footer-height, 60px); /* Space for footer */
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: var(--footer-height, 60px);
    
}


/* Focus styles for accessibility */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
/* End focus styles for accessibility */
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}
/* Override Bootstrap's default center alignment for floating labels on focus */
.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ===== Email Outbox Page Styles ===== */

/* Email preview iframe - full width and responsive height */
.email-preview-iframe {
    width: 100%;
    min-height: 400px;
    height: 60vh;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #ffffff;
}

/* Email source code display */
.email-source-code {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    margin: 0;
    max-height: 60vh;
    overflow-y: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Container for the rendered email view */
.email-rendered-container {
    background-color: #ffffff;
    border-radius: 4px;
}

/* Ensure modal body has proper scrolling */
#emailDetailsModal .modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* Grid action buttons spacing */
.email-outbox-actions .btn {
    margin: 0 2px;
}

/* Status badge styling to ensure consistent sizing */
.email-status-badge {
    display: inline-block;
    min-width: 70px;
    text-align: center;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .email-preview-iframe {
        min-height: 300px;
        height: 50vh;
    }

    .email-source-code {
        max-height: 50vh;
        font-size: 0.75rem;
    }

    #emailDetailsModal .modal-dialog {
        margin: 0.5rem;
    }
}

/* Ensure Syncfusion Grid columns with ellipsis show tooltips properly */
.e-grid .e-gridcontent .e-rowcell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* End Email Outbox Page Styles */


/*

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}


a {
    color: #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}
*/

