@font-face {
    font-family: 'Pastiche Grotesque';
    src: url('/static/fonts/pastiche-grotesque/PasticheGrotesqueTrial-Regular.woff2') format('woff2'),
         url('/static/fonts/pastiche-grotesque/PasticheGrotesqueTrial-Regular.woff') format('woff');
    font-weight: 400; /* Regular */
    font-style: normal;
}

@font-face {
    font-family: 'Pastiche Grotesque';
    src: url('/static/fonts/pastiche-grotesque/PasticheGrotesqueTrial-Medium.woff2') format('woff2'),
         url('/static/fonts/pastiche-grotesque/PasticheGrotesqueTrial-Medium.woff') format('woff');
    font-weight: 500; /* Medium */
    font-style: normal;
}

@font-face {
    font-family: 'Pastiche Grotesque';
    src: url('/static/fonts/pastiche-grotesque/PasticheGrotesqueTrial-SemiBold.woff2') format('woff2'),
         url('/static/fonts/pastiche-grotesque/PasticheGrotesqueTrial-SemiBold.woff') format('woff');
    font-weight: 600; /* SemiBold */
    font-style: normal;
}

@font-face {
    font-family: 'Pastiche Grotesque';
    src: url('/static/fonts/pastiche-grotesque/PasticheGrotesqueTrial-Bold.woff2') format('woff2'),
         url('/static/fonts/pastiche-grotesque/PasticheGrotesqueTrial-Bold.woff') format('woff');
    font-weight: 700; /* Bold */
    font-style: normal;
}

@font-face {
    font-family: 'Pastiche Grotesque';
    src: url('/static/fonts/pastiche-grotesque/PasticheGrotesqueTrial-Black.woff2') format('woff2'),
         url('/static/fonts/pastiche-grotesque/PasticheGrotesqueTrial-Black.woff') format('woff');
    font-weight: 900; /* Black */
    font-style: normal;
}

.trust-accounts-text {
    font-family: 'Pastiche Grotesque', sans-serif;
}

.trust-accounts-text h2 {
    font-weight: 500 !important; /* SemiBold weight */
    font-size: 80px !important;
}

.trust-accounts-text p {
    font-weight: 400; /* Regular weight */
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 0rem !important;

}
.trust-accounts-section {
    background-color: #1D418E; /* Dark Blue */
    color: white;
    max-width: 100%; /* Ensure the container spans full width */
}

.trust-accounts-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0; /* Remove any internal padding */
    margin: 0; /* Remove auto centering margins to stretch full width */
}

.trust-accounts-text {
    flex: 1;
    padding: 0 40px;
}

.trust-accounts-text h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.trust-accounts-text p {
    font-size: 1.2rem;
}

.trust-accounts-image {
    flex: 1;
    padding: 0; /* Remove space around the image */
    margin: 0; /* Ensure no margin around this div */
    overflow: hidden;
}

.trust-accounts-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the area without distortion */
    border-radius: 0; /* Remove the rounded corners from the image */
    display: block;
    min-height: 100%;
}

/* Tablet responsive styles for trust accounts section */
@media (min-width: 769px) and (max-width: 1024px) {
    .trust-accounts-text {
        padding: 0 30px;
    }
    
    .trust-accounts-text h2 {
        font-size: 2.5rem !important;
        margin-bottom: 20px;
    }
    
    .trust-accounts-text p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
}

/* Small laptop responsive styles for trust accounts section */
@media (min-width: 1025px) and (max-width: 1200px) {
    .trust-accounts-text {
        padding: 0 35px;
    }
    
    .trust-accounts-text h2 {
        font-size: 2.75rem !important;
        margin-bottom: 20px;
    }
    
    .trust-accounts-text p {
        font-size: 1.15rem;
        line-height: 1.6;
    }
    
    .trust-accounts-container {
        max-height: 500px;
    }
    
    .trust-accounts-image img {
        height: 100%;
        object-fit: cover;
    }
}

/* Mobile responsive styles for trust accounts section */
@media (max-width: 768px) {
    .trust-accounts-container {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    
    .trust-accounts-image {
        order: 1;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .trust-accounts-image img {
        height: auto;
        object-position: center;
        margin: 0;
        padding: 0;
    }
    
    .trust-accounts-text {
        order: 2;
        padding: 30px 20px;
        text-align: left;
        background-color: #1D418E;
        margin: 0;
        width: 100%;
    }
    
    .trust-accounts-text h2 {
        font-size: 2rem !important;
        margin-bottom: 15px;
        text-align: left;
    }
    
    .trust-accounts-text p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 0;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .trust-accounts-image img {
        height: auto;
    }
    
    .trust-accounts-text {
        padding: 25px 15px;
    }
    
    .trust-accounts-text h2 {
        font-size: 1.75rem !important;
    }
    
    .trust-accounts-text p {
        font-size: 0.9rem;
    }
}


.navbar .nav-link {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600; /* Semi-bold */
}

.navbar .nav-link {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600; /* Set font weight to 600 */
}

.intro {
    padding-bottom: 1rem !important; /* Reduce bottom padding */
}

.intro p {
    font-size: 20px;
}

.intro h3 {
    font-size: 25px;
}
.intro ul {
    font-size: 20px;
}

.login-section {
    background-color: #D9DAE3;
    padding-top: 1rem !important; /* Reduce top padding */
}

.login-section p {
    font-size: 20px;
    font-weight: 500;
}

.login-section h2 {
    font-size: 35px;
    font-width: 500;
    font-family: 'Pastiche Grotesque', sans-serif;
}

.custom-input {
    height: 50px; /* Makes input fields taller */
}

.custom-button {
    width: 100%; /* Makes the button full-width */
    height: 45px; /* Makes the button taller */
}

.trust-account-box {
    display: block;
    border-radius: 10px;
    text-decoration: none;
    max-width: 400px;
    transition: transform 0.2s ease-in-out;
}

.trust-account-box:hover {
    transform: scale(1.05);
}

.trust-account-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    margin-top:40px;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;

}

.trust-account-text {
    font-weight: bold;
    color: black;
    font-size: 25px;
    margin-bottom: 10px;
    font-family: 'Pastiche Grotesque', sans-serif;
}
.register-section h3 {
    font-family: 'Pastiche Grotesque', sans-serif;
    font-size: 35px;
    font-weight: bold;
}
.trust-account-arrow {
    font-size: 30px;
    color: black;
}

.footer {
    background-color: black;
    color: white;
    padding: 30px 0;
    font-size: 14px;
}

/* Override Bootstrap container max-widths for consistency */
@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 100%;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 100%;
    }
}


.footer .container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    max-width: 200px;
}



.social-icons a {
    color: white;
    font-size: 24px;
    margin-left: 15px;
    text-decoration: none;
}

.footer-line {
    border: 1px solid #666;
    margin: 20px 0;
}

.footer-bottom {
    text-align: left;
    padding: 10px 0;
}

.footer-bottom p {
    margin: 5px 0;
}

/* Container for the table */
.table-container {
    background-color: #fff; /* Matches white box theme */
    padding: 20px; /* Matches Bootstrap p-5 padding */
    border-radius: 10px; /* Consistent border-radius */
    margin: 0 auto; /* Center the table content inside the container */
}

/* Stylish table */
.stylish-table {
    width: 100%; /* Make the table span the full width of the container */
    border-collapse: collapse; /* Remove gaps between borders */
    font-family: 'Pastiche Grotesque', sans-serif;
}

/* Table header styling */
.stylish-table thead th {
    background-color: #d2d700; /* Yellow header background */
    color: #333; /* Dark text for contrast */
    text-align: left;
    padding: 12px; /* Spacing for table header cells */
    font-weight: 600; /* Make header bold */
    font-size: 1rem;
    border-bottom: 2px solid #ccc; /* Bottom border for the header */
}

/* Table rows styling */
.stylish-table tbody tr {
    border-bottom: 1px solid #eee; /* Light separator between rows */
    transition: background-color 0.3s ease; /* Hover transition for smooth effect */
}

/* Hover effect for rows */
.stylish-table tbody tr:hover {
    background-color: #f9f9f9; /* Light gray hover color */
}

/* Table cell styling */
.stylish-table td {
    padding: 12px 10px; /* Consistent cell padding */
    font-size: 0.95rem;
    color: #555; /* Subtle gray color for text */
}

/* Dynamic Status Styling */
.status {
    font-size: 0.9rem;
    font-weight: bold;
    padding: 5px 12px; /* Padding for the badge */
    border-radius: 6px; /* Rounded corners for the badge */
    display: inline-block; /* Behaves like a badge */
    text-align: center;
}

/* Enhancements for specific status colors */
.status.sent {
    background-color: #ffc107; /* Yellow for 'Sent' */
    color: black;
}

.status.completed {
    background-color: #28a745; /* Green for 'Completed' */
    color: white;
}

.status.delivered {
    background-color: #17a2b8; /* Teal for 'Delivered' */
    color: white;
}

.status.pending {
    background-color: #007bff; /* Blue for 'Submitted/Pending' */
    color: white;
}

.status.started {
    background-color: #17a2b8 !important; /* Teal for 'Started' (self-applications) */
    color: white !important;
}

/* Enhanced responsive table styling for all screen sizes */

/* Desktop and large screens - default styling optimized */
.table-container {
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-responsive {
    overflow-x: auto;
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
}

/* Table improvements for all sizes */
.table {
    margin-bottom: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2) !important;
    white-space: nowrap;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background-color: rgba(29, 65, 142, 0.05) !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tablet responsive styles for table */
@media (min-width: 769px) and (max-width: 1024px) {
    .table-container {
        padding: 15px;
        margin: 15px 0;
    }
    
    .table {
        font-size: 14px !important;
    }
    
    .table thead th {
        padding: 12px 8px !important;
        font-size: 13px !important;
    }
    
    .table tbody td {
        padding: 12px 8px !important;
        font-size: 13px !important;
    }
    
    .badge {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
    
    /* Optimize column widths for tablet */
    .table th:first-child,
    .table td:first-child {
        width: 50px;
    }
    
    .table th:nth-child(3),
    .table td:nth-child(3) {
        width: 100px;
    }
    
    .table th:nth-child(4),
    .table td:nth-child(4),
    .table th:nth-child(5),
    .table td:nth-child(5) {
        width: 120px;
    }
}

/* Small laptop responsive styles for table */
@media (min-width: 1025px) and (max-width: 1200px) {
    .table-container {
        padding: 18px;
        margin: 18px 0;
    }
    
    .table {
        font-size: 14px !important;
    }
    
    .table thead th {
        padding: 14px 10px !important;
        font-size: 13px !important;
    }
    
    .table tbody td {
        padding: 14px 10px !important;
        font-size: 13px !important;
    }
    
    .badge {
        font-size: 12px !important;
        padding: 7px 11px !important;
    }
}

/* Mobile responsive styles for table */
@media (max-width: 768px) {
    .table-container {
        padding: 10px;
        margin: 10px 0;
        border-radius: 6px;
    }
    
    .table {
        font-size: 12px !important;
        min-width: 600px; /* Minimum width to maintain readability */
    }
    
    .table thead th {
        padding: 10px 6px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
    }
    
    .table tbody td {
        padding: 10px 6px !important;
        font-size: 11px !important;
    }
    
    .badge {
        font-size: 9px !important;
        padding: 4px 8px !important;
        letter-spacing: 0.3px;
    }
    
    /* Optimize column widths for mobile scroll */
    .table th:first-child,
    .table td:first-child {
        width: 40px;
        text-align: center;
    }
    
    .table th:nth-child(2),
    .table td:nth-child(2) {
        min-width: 180px;
    }
    
    .table th:nth-child(3),
    .table td:nth-child(3) {
        width: 90px;
        text-align: center;
    }
    
    .table th:nth-child(4),
    .table td:nth-child(4),
    .table th:nth-child(5),
    .table td:nth-child(5) {
        width: 100px;
        font-size: 10px !important;
    }
    
    /* Enhanced scroll indicators */
    .table-responsive {
        border: 1px solid #dee2e6;
        position: relative;
    }
    
    .table-responsive::after {
        content: '→';
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #6c757d;
        font-size: 18px;
        opacity: 0.7;
        pointer-events: none;
        animation: scroll-hint 2s ease-in-out infinite;
    }
    
    @keyframes scroll-hint {
        0%, 100% { opacity: 0.7; }
        50% { opacity: 0.3; }
    }
}

@media (max-width: 480px) {
    .table-container {
        padding: 8px;
        margin: 8px 0;
    }
    
    .table {
        font-size: 11px !important;
        min-width: 550px;
    }
    
    .table thead th {
        padding: 8px 4px !important;
        font-size: 10px !important;
    }
    
    .table tbody td {
        padding: 8px 4px !important;
        font-size: 10px !important;
    }
    
    .badge {
        font-size: 8px !important;
        padding: 3px 6px !important;
        letter-spacing: 0.2px;
    }
    
    .table th:first-child,
    .table td:first-child {
        width: 35px;
    }
    
    .table th:nth-child(2),
    .table td:nth-child(2) {
        min-width: 160px;
    }
    
    .table th:nth-child(3),
    .table td:nth-child(3) {
        width: 80px;
    }
    
    .table th:nth-child(4),
    .table td:nth-child(4),
    .table th:nth-child(5),
    .table td:nth-child(5) {
        width: 90px;
        font-size: 9px !important;
    }
}

/* Ensure entire table has rounded borders */
.stylish-table {
    border-radius: 10px;
    overflow: hidden;
}

tbody, td, tfoot, th, thead, tr {

    border: 2px solid #d7d7d7 !important;
}


.trust-grid {
    display: flex;
    justify-content: space-between; /* Distribute items across full width */
    align-items: center; /* Center items vertically */
    gap: 20px; /* Small gap between the two trust types */
    padding: 20px 0; /* Add vertical spacing */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.grid-item {
    border: 2px solid #FFCF00;
    padding: 20px 30px;
    border-radius: 8px;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: row; /* Place icon and text side by side */
    align-items: center; /* Center elements vertically inside each item */
    gap: 15px; /* Space between icon and text */
    flex: 1; /* Make each item take equal width */
    max-width: calc(50% - 10px); /* Ensure two items fit in one row with gap */
}

.icon {
    display: block;
    flex-shrink: 0; /* Prevent icon from shrinking */
    color: #d2d700; /* Match your theme color */
}

.icon img {
    width: 48px;
    height: 48px;
    display: block;
}

.grid-item p {
    font-size: 18px; /* Font size for the text */
    font-family: 'Pastiche Grotesque', sans-serif;
    font-weight: 600;
    color: #333; /* Standard text color */
    margin: 0; /* Remove additional margin */
    flex-grow: 1; /* Allow text to take remaining space */
}

/* Tablet responsive styles for intro section */
@media (min-width: 769px) and (max-width: 1024px) {
    .intro {
        padding: 20px 0 !important;
    }
    
    .intro .container {
        padding: 0 30px;
        max-width: 100%;
    }
    
    .intro p {
        font-size: 18px;
        line-height: 1.6;
        text-align: left;
        
    }
    
    .intro h3 {
        font-size: 23px;
        margin-bottom: 25px;
        text-align: left;
    }
    
    .trust-grid {
        justify-content: flex-start !important;
        gap: 20px;
        padding: 25px 0;
        flex-wrap: wrap;
    }
    
    .grid-item {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        padding: 18px 20px;
    }
    
    .grid-item:nth-child(3) {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .grid-item p {
        font-size: 17px;
    }
}

/* Small laptop responsive styles for intro section */
@media (min-width: 1025px) and (max-width: 1200px) {
    .intro {
        padding: 20px 0 !important;
    }
    
    .intro .container {
        padding: 0 35px;
        max-width: 100%;
    }
    
    .intro p {
        font-size: 19px;
        line-height: 1.7;
        text-align: left;
        
    }
    
    .intro h3 {
        font-size: 24px;
        margin-bottom: 30px;
        text-align: left;
    }
    
    .trust-grid {
        justify-content: flex-start !important;
        gap: 20px;
        padding: 0px 0px 30px 0px;
        flex-wrap: wrap;
    }
    
    .grid-item {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
        padding: 20px 25px;
    }
    
    .grid-item p {
        font-size: 18px;
    }
    
    .icon img {
        width: 52px !important;
        height: 52px !important;
    }
}

/* Mobile responsive styles for intro section */
@media (max-width: 768px) {
    .intro {
        padding: 20px !important;
    }
    
    .intro p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .intro h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .trust-grid {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        align-items: stretch;
    }
    
    .grid-item {
        max-width: 100%;
        flex: none;
        width: 100%;
        padding: 15px 20px;
        justify-content: flex-start;
    }
    
    .grid-item p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .intro {
        padding: 15px !important;
    }
    
    .intro p {
        font-size: 14px;
    }
    
    .intro h3 {
        font-size: 18px;
    }
    
    .grid-item {
        padding: 12px 15px;
        gap: 12px;
    }
    
    .grid-item p {
        font-size: 14px;
    }
    
    .icon img {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Mobile responsive styles for login section */
@media (max-width: 768px) {
    .login-section {
        padding: 20px 0 !important;
    }
    
    .login-section .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .login-section h2 {
        font-size: 24px !important;
        margin-top: 0 !important;
        text-align: left;
        margin-bottom: 20px;
    }
    
    .login-section p {
        font-size: 16px;
        text-align: left;
        margin-top: 20px !important;
    }
    
    .login-section .row {
        margin: 0;
    }
    
    .login-section .col-md-6 {
        padding: 0;
        margin-bottom: 20px;
    }
    
    /* Make login button full width on mobile */
    .login-section .btn {
        width: 100% !important;
        height: 50px !important;
        font-size: 18px !important;
        margin-top: 10px;
    }
    
    /* Form inputs */
    .login-section .form-control {
        font-size: 16px;
        height: 50px;
    }
    
    .login-section .form-label {
        font-size: 16px;
        font-weight: 600;
    }
    
    /* Forgot password link */
    .login-section a {
        font-size: 14px !important;
        display: block;
        text-align: left;
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .login-section {
        padding: 15px 0 !important;
    }
    
    .login-section .container {
        padding: 0 15px;
    }
    
    .login-section h2 {
        font-size: 20px !important;
    }
    
    .login-section p {
        font-size: 14px;
    }
    
    .login-section .form-control {
        height: 45px;
        font-size: 14px;
    }
    
    .login-section .form-label {
        font-size: 14px;
    }
    
    .login-section .btn {
        height: 45px !important;
        font-size: 16px !important;
    }
}

/* Tablet responsive styles for register section */
@media (min-width: 769px) and (max-width: 1024px) {
    .register-section {
        padding: 20px 0 !important;
    }
    
    .register-section .container {
        padding: 0 30px;
        max-width: 100%;
    }
    
    .register-section h3 {
        font-size: 28px !important;
        text-align: left;
        margin-bottom: 25px;
    }
    
    .trust-account-box {
        max-width: 100%;
        width: 100%;
    }
    
    .trust-account-content {
        margin-top: 20px;
        padding: 25px 30px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .trust-account-text {
        font-size: 22px !important;
        margin-bottom: 0;
        flex: 1;
    }
    
    .trust-account-arrow {
        font-size: 28px;
        margin-left: 20px;
        flex-shrink: 0;
    }
}

/* Small laptop responsive styles for register section */
@media (min-width: 1025px) and (max-width: 1200px) {
    .register-section {
        padding: 20px 0 !important;
    }
    
    .register-section .container {
        padding: 0 35px;
        max-width: 100%;
    }
    
    .register-section h3 {
        font-size: 30px !important;
        text-align: left;
        margin-bottom: 30px;
    }
    
    .trust-account-box {
        max-width: 100%;
        width: 100%;
    }
    
    .trust-account-content {
        margin-top: 25px;
        padding: 30px 35px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .trust-account-text {
        font-size: 24px !important;
        margin-bottom: 0;
        flex: 1;
    }
    
    .trust-account-arrow {
        font-size: 32px;
        margin-left: 25px;
        flex-shrink: 0;
    }
}

/* Mobile responsive styles for register section */
@media (max-width: 768px) {
    .register-section {
        padding: 20px 0 !important;
    }
    
    .register-section .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .register-section h3 {
        font-size: 24px !important;
        text-align: left;
        margin-bottom: 20px;
    }
    
    .trust-account-box {
        max-width: 100%;
        width: 100%;
    }
    
    .trust-account-content {
        margin-top: 10px;
        padding: 20px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .trust-account-text {
        font-size: 18px !important;
        margin-bottom: 0;
        flex: 1;
    }
    
    .trust-account-arrow {
        font-size: 24px;
        margin-left: 15px;
        flex-shrink: 0;
    }
}

/* Medium mobile responsive styles for register section (400px range) */
@media (max-width: 480px) and (min-width: 381px) {
    .register-section {
        padding: 15px 0 !important;
    }
    
    .register-section .container {
        padding: 0 15px;
    }
    
    .register-section h3 {
        font-size: 20px !important;
    }
    
    .trust-account-content {
        padding: 15px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    
    .trust-account-text {
        font-size: 16px !important;
        margin-bottom: 0;
        flex: 1;
        line-height: 1.3;
    }
    
    .trust-account-arrow {
        font-size: 20px;
        margin-left: 10px;
        flex-shrink: 0;
    }
}

/* Small mobile responsive styles for register section (below 380px) */
@media (max-width: 380px) {
    .register-section {
        padding: 15px 0 !important;
    }
    
    .register-section .container {
        padding: 0 15px;
    }
    
    .register-section h3 {
        font-size: 18px !important;
    }
    
    .trust-account-content {
        padding: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .trust-account-text {
        font-size: 14px !important;
        margin-bottom: 8px;
    }
    
    .trust-account-arrow {
        font-size: 18px;
        margin-left: 0;
        margin-top: 8px;
    }
}

/* Tablet responsive styles for registration form */
@media (min-width: 769px) and (max-width: 900px) {
    /* Registration form specific */
    .login-section {
        padding: 20px 0 !important;
    }
    
    .login-section .container {
        padding: 0 30px;
        max-width: 100%;
    }
    
    .login-section h2 {
        font-size: 28px !important;
        margin-top: 0 !important;
        text-align: left;
        margin-bottom: 25px;
    }
    
    .login-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .login-section .col-md-6:first-child {
        margin-bottom: 0px;
    }
    
    .login-section .col-md-6:last-child p:first-child {
        font-size: 22px !important;
        margin-top: 0 !important;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .login-section .col-md-6:last-child p:last-child {
        font-size: 18px !important;
        margin-top: 15px !important;
        text-align: left;
        line-height: 1.6;
    }
    

    
    .login-section textarea {
        height: 150px !important;
        font-size: 16px;
        resize: vertical;
    }
    
    .login-section .form-label {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    /* Button */
    .login-section form .btn {
        width: 40% !important;
        height: 50px !important;
        font-size: 18px !important;
        margin-top: 20px;
    }
}

/* Medium tablet responsive styles for registration form */
@media (min-width: 901px) and (max-width: 1024px) {
    .login-section {
        padding: 20px 0 !important;
    }
    
    .login-section .container {
        padding: 0 30px;
        max-width: 100%;
    }
    
    .login-section h2 {
        font-size: 28px !important;
        margin-top: 0 !important;
        text-align: left;
        margin-bottom: 25px;
    }
    
    .login-section .col-md-6:first-child {
        margin-bottom: 0;
        padding-right: 25px;
    }
    
    .login-section .col-md-6:last-child {
        padding-left: 25px;
    }
    
    .login-section .col-md-6:last-child p:first-child {
        font-size: 22px !important;
        margin-top: 0 !important;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .login-section .col-md-6:last-child p:last-child {
        font-size: 18px !important;
        margin-top: 15px !important;
        text-align: left;
        line-height: 1.6;
    }
    
    /* Form elements */
    .login-section .form-control,
    .login-section .form-select {
        font-size: 16px;
        height: 50px !important;
    }
    
    .login-section textarea {
        height: 150px !important;
        font-size: 16px;
        resize: vertical;
    }
    
    .login-section .form-label {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    /* Button */
    .login-section form .btn {
        width: 40% !important;
        height: 50px !important;
        font-size: 18px !important;
        margin-top: 20px;
    }
}

/* Small laptop responsive styles for registration form */
@media (min-width: 1025px) and (max-width: 1200px) {
    .login-section {
        padding: 20px 0 !important;
    }
    
    .login-section .container {
        padding: 0 35px;
        max-width: 100%;
    }
    
    .login-section h2 {
        font-size: 30px !important;
        margin-top: 0 !important;
        text-align: left;
        margin-bottom: 30px;
    }
    
    .login-section .col-md-6:first-child {
        margin-bottom: 0;
        padding-right: 30px;
    }
    
    .login-section .col-md-6:last-child {
        padding-left: 30px;
    }
    
    .login-section .col-md-6:last-child p:first-child {
        font-size: 24px !important;
        margin-top: 0 !important;
        margin-bottom: 25px;
        text-align: left;
    }
    
    .login-section .col-md-6:last-child p:last-child {
        font-size: 19px !important;
        margin-top: 20px !important;
        text-align: left;
        line-height: 1.7;
    }
    
    /* Form elements */
    .login-section .form-control,
    .login-section .form-select {
        font-size: 16px;
        height: 52px !important;
    }
    
    .login-section textarea {
        height: 160px !important;
        font-size: 16px;
        resize: vertical;
    }
    
    .login-section .form-label {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 10px;
    }
    
    /* Button */
    .login-section form .btn {
        width: 35% !important;
        height: 52px !important;
        font-size: 19px !important;
        margin-top: 25px;
    }
}

/* Mobile responsive styles for registration form */
@media (max-width: 768px) {
    /* Registration-specific overrides */
    .login-section .col-md-6:first-child {
        margin-bottom: 30px;
    }
    
    .login-section .col-md-6:last-child p:first-child {
        font-size: 20px !important;
        margin-top: 0 !important;
        margin-bottom: 15px;
    }
    
    .login-section .col-md-6:last-child p:last-child {
        font-size: 16px !important;
        margin-top: 10px !important;
    }
    
    /* Form-specific styling */
    .login-section .form-select {
        font-size: 16px;
        height: 50px !important;
    }
    
    .login-section textarea {
        height: 120px !important;
        font-size: 14px;
        resize: vertical;
    }
    
    /* Registration button specific styling */
    .login-section form .btn {
        width: 100% !important;
        height: 50px !important;
        font-size: 18px !important;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .login-section .col-md-6:last-child p:first-child {
        font-size: 18px !important;
    }
    
    .login-section .col-md-6:last-child p:last-child {
        font-size: 14px !important;
    }
    
    .login-section .form-select {
        font-size: 14px;
        height: 45px !important;
    }
    
    .login-section textarea {
        height: 100px !important;
        font-size: 14px;
    }
    
    .login-section form .btn {
        height: 45px !important;
        font-size: 16px !important;
    }
}

/* Table Enhancement Styles */

/* Sortable header styling */
.stylish-table thead th {
    position: relative;
}

.stylish-table thead th.sortable:hover {
    background-color: #c5c500 !important; /* Slightly darker yellow on hover */
}

.sort-indicator {
    float: right;
    margin-left: 8px;
}

.sort-indicator i {
    color: #333;
    transition: opacity 0.3s ease;
}

/* Filter row styling */
.filter-row th {
    background-color: #f8f9fa !important;
    border-top: 1px solid #dee2e6 !important;
    padding: 8px !important;
}

.filter-row .form-control-sm {
    font-size: 0.85rem;
    padding: 4px 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #ffffff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.filter-row .form-control-sm:focus {
    border-color: #d2d700;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(210, 215, 0, 0.25);
}

.filter-row .form-control-sm::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

/* Enhanced table responsiveness */
@media (max-width: 768px) {
    .filter-row .form-control-sm {
        font-size: 0.8rem;
        padding: 2px 6px;
    }
    
    .sort-indicator {
        display: none; /* Hide sort arrows on mobile for space */
    }
}

/* Table container improvements */
.stylish-table {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid #dee2e6;
}

/* Improved table cell alignment for badges */
.stylish-table td .badge {
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

/* Status badge improvements */
.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
}

/* Loading indicator for table operations */
.table-loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.table-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

/* Custom Hamburger Menu Styles */
.custom-hamburger {
    border: none !important;
    background: transparent !important;
    padding: 8px !important;
    width: 44px;
    height: 44px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.custom-hamburger:focus {
    outline: 2px solid #FFCF00;
    outline-offset: 2px;
    box-shadow: none !important;
}

.custom-hamburger:hover {
    background-color: rgba(255, 207, 0, 0.1) !important;
    transform: scale(1.05);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #333;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.custom-hamburger:hover .hamburger-line {
    background-color: #1D418E;
}

/* Animation when menu is open */
.custom-hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
    background-color: #22489E;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -11px;
    margin-top: -1px;
}

.custom-hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.custom-hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
    background-color: #22489E;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -11px;
    margin-top: -1px;
}

.custom-hamburger[aria-expanded="true"] {
    background-color: rgba(34, 72, 158, 0.15) !important;
}

/* Mobile dropdown menu */
.mobile-menu-dropdown {
    position: absolute;
    top: calc(100% - 20px);
    right: 15px;
    width: 220px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.mobile-menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-dropdown-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.mobile-dropdown-item {
    margin: 0;
}

.mobile-dropdown-link {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.15s ease;
}

.mobile-dropdown-link:hover {
    background-color: rgba(255, 207, 0, 0.1);
    color: #1D418E;
    text-decoration: none;
}

/* Hide mobile menu on desktop */
@media (min-width: 992px) {
    .mobile-menu-dropdown {
        display: none;
    }
}

/* Show hamburger only on mobile */
@media (min-width: 992px) {
    .custom-hamburger {
        display: none !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .custom-hamburger,
    .hamburger-line,
    .navbar-nav .nav-link {
        transition: none;
    }
}

/* Screen reader only content */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}