:root {
    /* --color-brand-primary: #0e2148; */
    --color-brand-primary: #02102b;
    --color-brand-secondary: #333333;
    --color-btn-primary: #000000;
    --color-btn-primary-hover: #188580;
    --color-accent-main: #000000;
    --color-accent-main-hover: #666666;
    --color-accent-success: #2ecc71;
    --color-accent-success-hover: #27ae60;
    --color-accent-error: #e74c3c;
    --color-accent-error-hover: #c0392b;
    --color-accent-warning: #f1c40f;
    --color-accent-warning-hover: #e6b700;
    --color-accent-info: #3498db;
    --color-accent-info-hover: #2980b9;
    --color-bg-light: #fffefd;
    /* --color-bg-card: #ffffff; */
    --color-bg-card: #ffffff;
    --color-text-dark: #000000;
    --color-text-medium: #666666;
    --color-text-light: #b3b3b3;
    --color-border-light: #cccccc;
    --color-white: #ffffff;
    --color-light: rgba(132, 139, 200, 0.18);

    --shadow-sm: rgba(0, 0, 0, 0.2) 0px 2px 4px;
    --shadow-md: rgba(0, 0, 0, 0.3) 0px 4px 12px;
    --shadow-lg: rgba(0, 0, 0, 0.4) 0px 8px 24px;
    --dark-color: #020202;
    --box-shadow: 0 2rem 3rem var(--color-light);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #000000 #f5f5f5;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0) !important;
    background-color: #f5f5f5 !important;
}

::-webkit-scrollbar {
    width: 6px !important;
    background-color: #f5f5f5 !important;
}

::-webkit-scrollbar-thumb {
    background-color: #000000;
}
body {
    /* font-family: "Inter", sans-serif; */
    /* font-family: "Chillax", sans-serif; */

    font-family: "Outfit", sans-serif;
    font-weight: 500 !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    font-size: 0.9rem; /* Reduced from 1rem */
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;

    /* */

    /* background-image: radial-gradient(#d1d1d1 1px, transparent 0.5px); */
    /* background-size: 20px 20px; */
    /* background-image: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.03) 2px,
            transparent 1px
        ),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 2px, transparent 1px);
    background-size: 70px 70px; */
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: url(../assets/main-bg-old.png); */
    background-image: url(../assets/main-bg.png);
    background-size: cover;
    background-position: center;
    z-index: -10;
    opacity: 0.5;
    filter: blur(100px);
    border-radius: 0.5rem;
    /* filter: brightness(0.2); */
}

@keyframes moveCloud {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.center {
    text-align: center !important;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--color-accent-main);
    transition: color 0.2s ease;
}
a:hover {
    color: var(--color-accent-main-hover);
}

main {
    flex: 1;
    /* padding: 1.5rem 0.75rem; */
    /* Reduced from 64rem */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    /* align-items: center; */
    max-height: 85vh;
    position: relative;
    top: 1vh;
    overflow-y: scroll;
    padding-top: 2vh;
}

.content-wrapper {
    background-color: var(--color-bg-card);
    padding: 0.9rem; /* Reduced from 1rem */
    border-radius: 0.5rem; /* Reduced from 0.75rem */
    box-shadow: var(--shadow-lg);
    max-width: 80vw; /* Reduced from 50rem */
    /* width: 100%; */
    text-align: center;
    box-sizing: border-box;
    margin: auto;
}

h1 {
    color: var(--color-brand-primary);
    font-size: 1.8rem; /* Reduced from 2rem */
    font-weight: 800;
    margin-bottom: 0.675rem; /* Reduced from 0.75rem */
    line-height: 1.2;
    letter-spacing: -0.0625rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}
h1 span {
    color: var(--color-accent-main);
}

.main-paragraph {
    font-size: 0.84375rem; /* Reduced from 0.9375rem */
    color: var(--color-text-medium);
    margin-bottom: 1.35rem; /* Reduced from 1.5rem */
    line-height: 1.6;
    max-width: 33.75rem; /* Reduced from 37.5rem */
    margin-left: auto;
    margin-right: auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(13.5rem, 1fr)
    ); /* Reduced from 15rem */
    gap: 0.9rem; /* Reduced from 1rem */
    margin-bottom: 1.35rem; /* Reduced from 1.5rem */
}

.card {
    background-color: var(--color-bg-card);
    padding: 0.9rem; /* Reduced from 1rem */
    border-radius: 0.5rem; /* Reduced from 0.75rem */
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    text-align: left;
    border: 1px solid var(--dark-color);
}

.card:hover {
    transform: translateY(-0.28125rem); /* Reduced from -0.3125rem */
    box-shadow: var(--shadow-lg);
}

.card h2 {
    font-size: 1.0125rem; /* Reduced from 1.125rem */
    font-weight: 700;
    margin-bottom: 0.45rem; /* Reduced from 0.5rem */
    color: var(--color-brand-primary);
}

.card p {
    font-size: 0.7875rem; /* Reduced from 0.875rem */
    color: var(--color-text-medium);
    margin-bottom: 0.675rem; /* Reduced from 0.75rem */
    flex-grow: 1;
}

.card-primary {
    background: linear-gradient(135deg, #f0f0f0, #e6e6e6);
    border-color: #d9d9d9;
}
.card-primary h2 {
    color: var(--color-brand-primary);
}
.card-primary .btn {
    background-color: var(--color-btn-primary);
    color: var(--color-white);
}
.card-primary .btn:hover {
    background-color: var(--color-btn-primary-hover);
    color: var(--color-white);
}

.card-accent-main {
    background: linear-gradient(135deg, #e6e6e6, #cccccc);
    border-color: #b3b3b3;
}
.card-accent-main h2 {
    color: var(--color-accent-main);
}
.card-accent-main .btn {
    background-color: var(--color-accent-main);
    color: var(--color-white);
}
.card-accent-main .btn:hover {
    background-color: var(--color-accent-main-hover);
}

.content {
    max-width: 43.2rem; /* Reduced from 48rem */
    margin: 1.35rem auto; /* Reduced from 1.5rem */
    padding: 0 0.675rem; /* Reduced from 0.75rem */
    text-align: left;
}

.section {
    margin-bottom: 1.35rem; /* Reduced from 1.5rem */
    padding: 1.125rem; /* Reduced from 1.25rem */
    background-color: var(--color-bg-card);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

.section h3 {
    color: var(--color-brand-primary);
    font-size: 1.125rem; /* Reduced from 1.25rem */
    font-weight: 700;
    margin-bottom: 0.675rem; /* Reduced from 0.75rem */
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 0.3375rem; /* Reduced from 0.375rem */
}

.section p {
    font-size: 0.84375rem; /* Reduced from 0.9375rem */
    color: var(--color-text-dark);
    margin-bottom: 0.675rem; /* Reduced from 0.75rem */
}

.section ul {
    list-style: none;
    padding-left: 0;
}

.section ul li {
    margin-bottom: 0.3375rem; /* Reduced from 0.375rem */
    color: var(--color-text-dark);
    display: flex;
    align-items: flex-start;
}

.section ul li i {
    margin-right: 0.45rem; /* Reduced from 0.5rem */
    color: var(--color-accent-main);
    font-size: 0.9rem; /* Reduced from 1rem */
    margin-top: 0.1125rem; /* Reduced from 0.125rem */
}

.cta {
    text-align: center;
    margin: 1.8rem 0; /* Reduced from 2rem */
}

.cta a {
    background: linear-gradient(
        135deg,
        var(--color-accent-main),
        var(--color-accent-main-hover)
    );
    color: var(--color-white);
    padding: 0.675rem 1.35rem; /* Reduced from 0.75rem 1.5rem */
    text-decoration: none;
    border-radius: 0.3375rem; /* Reduced from 0.375rem */
    font-weight: bold;
    font-size: 0.9rem; /* Reduced from 1rem */
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta a:hover {
    transform: translateY(-0.16875rem); /* Reduced from -0.1875rem */
    box-shadow: var(--shadow-lg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem; /* Reduced from 0.5rem 1rem */
    border-radius: 0.375rem; /* Reduced from 0.375rem */
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease-in-out;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.01875rem;
    font-size: 0.84375rem; /* Reduced from 0.9375rem */
    min-width: 5.625rem; /* Reduced from 6.25rem */
}

.btn:hover {
    transform: translateY(-0.05625rem); /* Reduced from -0.0625rem */
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--color-btn-primary) /* var(--color-brand-secondary) */
    );
    color: var(--color-white);
    border: solid 1px var(--color-btn-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-btn-primary-hover));
    border: solid 1px var(--color-primary-hover);
    color: var(--color-white);
    border-radius: 0 !important;
}

.btn-accent-main {
    background-color: var(--color-btn-primary) !important;
    /* background: linear-gradient(
        135deg,
        var(--color-accent-main),
        var(--color-accent-main-hover)
    ); */
    color: var(--color-white) !important;
}

.btn-accent-main:hover {
    background-color: var(--color-btn-primary-hover) !important;
    color: var(--color-white) !important;
    /* background: linear-gradient(
        135deg,
        var(--color-accent-main-hover),
        var(--color-accent-main)
    ) !important; */
}

.btn-success {
    background: linear-gradient(
        135deg,
        var(--color-accent-success),
        var(--color-accent-success-hover)
    ) !important;
    color: var(--color-text-dark) !important;
}

.btn-success:hover {
    background: linear-gradient(
        135deg,
        var(--color-accent-success-hover),
        var(--color-accent-success)
    );
}

.btn-error {
    background: linear-gradient(
        135deg,
        var(--color-accent-error),
        var(--color-accent-error-hover)
    ) !important;
    color: var(--color-white) !important;
}

.btn-error:hover {
    background: linear-gradient(
        135deg,
        var(--color-accent-error-hover),
        var(--color-accent-error)
    ) !important;
}

.btn-secondary {
    /* background-color: var(--color-border-light); */
    background-color: transparent;
    color: var(--color-text-dark);
    box-shadow: none;
    border: solid 1px black;
}

.btn-secondary:hover {
    background-color: #f2f2f2;
    transform: none;
    box-shadow: none;
    border-radius: 0 !important;
    color: black;
}

.action-links {
    font-size: 0.7875rem; /* Reduced from 0.875rem */
    color: var(--color-text-medium);
    margin-top: 1.35rem; /* Reduced from 1.5rem */
}

.action-links a {
    color: var(--color-accent-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.action-links a:hover {
    color: var(--color-accent-main-hover);
    text-decoration: underline;
}

.section-heading {
    font-size: 1.35rem; /* Reduced from 1.5rem */
    font-weight: 700;
    color: var(--color-brand-primary);
    margin-top: 1.35rem; /* Reduced from 1.5rem */
    margin-bottom: 0.9rem; /* Reduced from 1rem */
    padding-bottom: 0.45rem; /* Reduced from 0.5rem */
    border-bottom: 1px solid var(--color-border-light);
    text-align: center;
}

footer {
    background: linear-gradient(
        to right,
        var(--color-brand-primary),
        var(--color-brand-secondary)
    );
    color: var(--color-white);
    padding: 0.9rem 0.675rem; /* Reduced from 1rem 0.75rem */
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top-left-radius: 0.5625rem; /* Reduced from 0.625rem */
    border-top-right-radius: 0.5625rem;
    font-size: 0.73125rem; /* Reduced from 0.8125rem */
    letter-spacing: 0.0125rem;
    margin-top: 1.35rem; /* Reduced from 1.5rem */
}

footer p {
    color: var(--color-text-light);
    margin: 0;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(0.675rem); /* Reduced from 0.75rem */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-1 {
    animation-delay: 0.1s;
}
.fade-in-2 {
    animation-delay: 0.2s;
}
.fade-in-3 {
    animation-delay: 0.3s;
}
.fade-in-4 {
    animation-delay: 0.4s;
}
.fade-in-5 {
    animation-delay: 0.5s;
}

label {
    /* display: none !important; */
    font-weight: bolder !important;
}
input::placeholder {
    color: var(--color-text-medium) !important;
    /* font-weight: bolder !important; */
}
.form-container {
    position: relative;
    background-color: #f7f7f7;
    padding: 1.35rem; /* Reduced from 1.5rem */
    border-radius: 0.5rem;
    /* box-shadow: var(--shadow-lg); */
    max-width: 22.5rem;
    width: 100%;
    text-align: left;
    animation: fadeIn 0.7s ease-out forwards;
    box-sizing: border-box;
    border: 1px solid rgb(122, 122, 122);
    box-shadow: var(--box-shadow);
    /* border-top: 2px solid var(--color-text-dark);
    border-left: 2px solid var(--color-text-dark);
    border-right: 2px solid #0c0c0ccc;
    border-bottom: 2px solid #0c0c0ccc; */
    /* box-shadow: 4px 4px #0c0c0c !important; */
    margin-bottom: 10px;
}

/* .form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../assets/form-bg.webp);
    background-size: contain;
    background-position: center;
    opacity: 0.2; 
    z-index: -10;
    border-radius: 0.5rem;
} */

.form-container h2 {
    color: var(--color-brand-primary);
    font-size: 1.35rem; /* Reduced from 1.5rem */
    font-weight: 700;
    margin-bottom: 0.9rem; /* Reduced from 1rem */
    text-align: center;
}
.form-group {
    margin-bottom: 0.675rem; /* Reduced from 0.75rem */
    width: 100%;
}
.radio-group {
    display: flex;
}
.form-group label {
    display: block;
    margin-bottom: 0.225rem; /* Reduced from 0.25rem */
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 0.8125rem; /* Reduced from 0.8125rem */
}
input,
textarea,
select,
button {
    /* font-family: "Chillax", sans-serif; */
    font-family: "Outfit", sans-serif;
    /* font-weight: 600 !important; */
}
button {
    all: unset;
    cursor: pointer;
}
select {
    overflow: hidden;
    word-break: break-all !important;
}
option {
    all: unset;
}
textarea {
    resize: vertical;
}
/* readonly coor to borwn */
#myForm .form-group input[readonly],
#myForm .form-group textarea[readonly] {
    background-color: #f2f2f2 !important;
    color: brown !important;
    cursor: not-allowed !important;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.45rem 0.675rem; /* Reduced from 0.5rem 0.75rem */
    border-radius: 0.3375rem; /* Reduced from 0.375rem */
    font-size: 0.84375rem; /* Reduced from 0.9375rem */
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    /* background-color: var(--color-bg-light); */
    color: var(--color-text-dark) !important;
    /* border: 1px solid var(--color-text-dark); */
    box-shadow: 0px 0px 3px #0c0c0ca9 !important;
    border: none;
    border-bottom: 1px solid #0c0c0ca9;
    border: solid 3px transparent;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border: solid 3px;
    /* border-color: var(--color-accent-main); */
    border-color: var(--color-accent-success);
    box-shadow: var(--color-accent-main) 0px 0px 0px 0.1125rem; /* Reduced from 0.125rem */
    outline: none;
    box-shadow: none !important;
}

/* .form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus {
    transform: translate(4px, 4px) !important;
    transition: all 0.3s ease-in-out;
} */
.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.35rem; /* Reduced from 1.5rem */
}

.form-actions .btn {
    width: 100%;
    padding: 0.675rem 0.9rem; /* Reduced from 0.75rem 1rem */
    font-size: 0.9rem; /* Reduced from 1rem */
    max-width: 15rem;
}

.text-center {
    text-align: center;
}

.error-message {
    color: var(--color-accent-error);
    font-size: 1rem; /* Reduced from 0.75rem */
    margin-top: 0.16875rem; /* Reduced from 0.1875rem */
    text-align: left;
}

.toggle-link {
    margin-top: 0.9rem; /* Reduced from 1rem */
    font-size: 0.7875rem; /* Reduced from 0.875rem */
    color: var(--color-text-medium);
}

.toggle-link a {
    color: var(--color-accent-main);
    text-decoration: none;
    font-weight: 600;
}

.toggle-link a:hover {
    color: var(--color-accent-main-hover);
    text-decoration: underline;
}

.role-selection {
    margin-bottom: 0.675rem; /* Reduced from 0.75rem */
    text-align: center;
}

.role-selection label {
    display: inline-flex;
    align-items: center;
    margin: 0 0.675rem 0.3375rem; /* Reduced from 0 0.75rem 0.375rem */
    cursor: pointer;
    font-weight: normal;
    font-size: 0.7875rem; /* Reduced from 0.875rem */
    color: var(--color-text-dark);
}

.role-selection input[type="radio"] {
    margin-right: 0.3375rem; /* Reduced from 0.375rem */
    transform: scale(1.1);
}

.btn.btn-google {
    background-color: #4285f4;
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 13.5rem; /* Reduced from 15rem */
    margin: 0 auto;
    padding: 0.45rem 0.9rem; /* Reduced from 0.5rem 1rem */
    font-size: 0.84375rem; /* Reduced from 0.9375rem */
    font-weight: 500;
    border-radius: 0.3375rem; /* Reduced from 0.375rem */
    text-transform: none;
}

.btn.btn-google img {
    margin-right: 0.45rem; /* Reduced from 0.5rem */
    width: 0.9rem; /* Reduced from 1rem */
    height: 0.9rem;
}

.btn.btn-google:hover {
    background-color: #357ae8;
    transform: translateY(-0.05625rem); /* Reduced from -0.0625rem */
    box-shadow: var(--shadow-lg);
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background-color: var(--color-bg-card);
    padding: 1.35rem; /* Reduced from 1.5rem */
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 22.5rem;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(-1.125rem) scale(0.9); /* Reduced from -1.25rem */
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55),
        opacity 0.4s ease;
}

.popup-container.active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.popup-close-btn {
    position: absolute;
    top: 0.5625rem; /* Reduced from 0.625rem */
    right: 0.5625rem; /* Reduced from 0.625rem */
    background: none;
    border: none;
    font-size: 1.35rem; /* Reduced from 1.5rem */
    color: var(--color-text-medium);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease;
}

.popup-close-btn:hover {
    color: var(--color-brand-primary);
}

.popup-icon {
    font-size: 2.25rem; /* Reduced from 2.5rem */
    margin-bottom: 0.675rem; /* Reduced from 0.75rem */
    line-height: 1;
    font-weight: bold;
}

.popup-title {
    font-size: 1.125rem; /* Reduced from 1.25rem */
    color: var(--color-brand-primary);
    margin-bottom: 0.45rem; /* Reduced from 0.5rem */
}

.popup-message {
    font-size: 0.84375rem; /* Reduced from 0.9375rem */
    color: var(--color-text-dark);
    margin-bottom: 0;
}

.popup-success .popup-icon {
    color: var(--color-accent-success);
}
.popup-success .popup-title {
    color: var(--color-accent-success-hover);
}
.popup-error .popup-icon {
    color: var(--color-accent-error);
}
.popup-error .popup-title {
    color: var(--color-accent-error-hover);
}
.popup-warning .popup-icon {
    color: var(--color-accent-warning);
}
.popup-warning .popup-title {
    color: var(--color-accent-warning-hover);
}
.popup-info .popup-icon {
    color: var(--color-accent-info);
}
.popup-info .popup-title {
    color: var(--color-accent-info-hover);
}

.alert {
    display: none !important;
}

.table-responsive {
    width: 100%;
    /* overflow-x: auto; */
    overflow: none !important;
    border-radius: 0.3375rem; /* Reduced from 0.375rem */
    box-shadow: var(--shadow-md);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem; /* Reduced from 0.875rem */
    min-width: 33.75rem; /* Reduced from 37.5rem */
}

.data-table th {
    white-space: nowrap;
}
.data-table th,
.data-table td {
    padding: 0.45rem 0.5625rem; /* Reduced from 0.5rem 0.625rem */
    text-align: left;
    border-bottom: 1px solid var(--color-border-light);
}
.data-table td {
    border: solid 2px rgba(241, 241, 241);
}
.data-table thead tr {
    background-color: var(--color-brand-primary) !important;
    color: var(--color-white);
}

.data-table tbody tr:nth-of-type(even) {
    background-color: rgb(235, 235, 235);
}
.data-table tbody tr:nth-of-type(odd) {
    background-color: rgb(255, 255, 255);
}

.data-table tbody tr:hover {
    background-color: #f0f0f0;
}
.data-table select {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* .data-table tbody tr:last-of-type {
    border-bottom: 2px solid var(--color-brand-primary);
} */

.status-badge {
    padding: 0.16875rem 0.3375rem; /* Reduced from 0.1875rem 0.375rem */
    border-radius: 0.675rem; /* Reduced from 0.75rem */
    font-size: 0.5625rem; /* Reduced from 0.625rem */
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    min-width: 3.6rem; /* Reduced from 4rem */
    text-align: center;
}
.status-badge.pending-otp {
    background-color: var(--color-accent-warning);
    color: var(--color-text-dark); /* Dark text for light warning badge */
}
.status-badge.pending-approval {
    background-color: var(--color-accent-info);
    color: var(--color-white);
}
.status-badge.active {
    background-color: var(--color-accent-success);
    color: var(--color-text-dark); /* Dark text for light success badge */
}
.status-badge.deleted {
    background-color: var(--color-accent-error);
    color: var(--color-white);
}
.status-badge.rejected {
    background-color: var(--color-text-medium);
    color: var(--color-white);
}
.status-badge.cancelled {
    background-color: var(--color-text-medium);
    color: var(--color-white);
}

@media (max-width: 992px) {
    main {
        padding: 0.9rem 0.45rem; /* Reduced from 1rem 0.5rem */
        width: 90vw !important;
    }
    .content-wrapper {
        padding: 0.9rem; /* Reduced from 1rem */
    }
    .card {
        padding: 0.675rem; /* Reduced from 0.75rem */
    }
    .section {
        padding: 0.7875rem; /* Reduced from 0.875rem */
    }
    .cta a {
        padding: 0.5625rem 1.125rem; /* Reduced from 0.625rem 1.25rem */
    }
    .btn {
        padding: 0.3375rem 0.675rem; /* Reduced from 0.375rem 0.75rem */
        min-width: 4.5rem; /* Reduced from 5rem */
    }
    .form-container {
        padding: 0.9rem; /* Reduced from 1rem */
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.3375rem 0.5625rem; /* Reduced from 0.375rem 0.625rem */
    }
    .form-actions .btn {
        padding: 0.5625rem 0.675rem; /* Reduced from 0.625rem 0.75rem */
    }
    .btn.btn-google {
        padding: 0.3375rem 0.675rem; /* Reduced from 0.375rem 0.75rem */
    }
    .popup-container {
        padding: 0.9rem; /* Reduced from 1rem */
    }
    .data-table th,
    .data-table td {
        padding: 0.3375rem 0.45rem; /* Reduced from 0.375rem 0.5rem */
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.5rem !important;
    }
    .content-wrapper {
        width: 100vw !important;
        max-width: 100vw !important;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    /* body {
        width: max-content;
    } */
    main {
        padding: 0.675rem 0.6375rem; /* Reduced from 0.75rem 0.375rem */
        /* width: auto; */
        top: 0 !important;
        width: 90vw;
    }
    .content-wrapper {
        padding: 0.675rem; /* Reduced from 0.75rem */
    }
    .card {
        padding: 0.45rem; /* Reduced from 0.5rem */
    }
    .section {
        padding: 0.5625rem; /* Reduced from 0.625rem */
    }
    .section ul li i {
        margin-right: 0.3375rem; /* Reduced from 0.375rem */
    }
    .cta a {
        padding: 0.45rem 0.9rem; /* Reduced from 0.5rem 1rem */
    }
    .btn {
        padding: 0.225rem 0.5625rem; /* Reduced from 0.25rem 0.625rem */
        min-width: unset;
    }
    .form-container {
        padding: 0.675rem; /* Reduced from 0.75rem */
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.225rem 0.45rem; /* Reduced from 0.25rem 0.5rem */
        font-size: 0.73125rem; /* Reduced from 0.8125rem */
    }
    .form-actions .btn {
        padding: 0.45rem 0.5625rem; /* Reduced from 0.5rem 0.625rem */
    }
    .btn.btn-google {
        padding: 0.225rem 0.5625rem; /* Reduced from 0.25rem 0.625rem */
        max-width: 10.8rem; /* Reduced from 12rem */
    }
    .data-table {
        min-width: unset;
    }
    .data-table th,
    .data-table td {
        padding: 0.225rem 0.3375rem; /* Reduced from 0.25rem 0.375rem */
    }
    .status-badge {
        padding: 0.1125rem 0.225rem; /* Reduced from 0.125rem 0.25rem */
        min-width: 2.7rem; /* Reduced from 3rem */
    }
}
.form-row {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line on smaller screens */
    gap: 0.9rem; /* Consistent with other gap values in your CSS, reduced from 1rem */
    margin-bottom: 0.675rem; /* Consistent with form-group margin-bottom, reduced from 0.75rem */
    align-items: center; /* Aligns items vertically in the center */
}

/* Optional: Adjust spacing or alignment for child elements within form-row if needed */
.form-row .form-group {
    flex: 1; /* Allows form groups to grow and shrink */
    min-width: 13.5rem; /* Ensures a minimum width before wrapping, similar to card min-width */
}

.form-row input,
.form-row select,
.form-row textarea {
    flex-basis: 65%; /* Adjust as needed to fill the remaining space */
}

/* Media query adjustments for smaller screens if items are stacked */
@media (max-width: 767px) {
    .form-row {
        flex-direction: column; /* Stack items vertically on small screens */
        align-items: flex-start; /* Align items to the start when stacked */
        gap: 0.45rem; /* Smaller gap when stacked */
    }

    .form-row label,
    .form-row input,
    .form-row select,
    .form-row textarea {
        flex-basis: auto; /* Reset flex-basis for stacking */
    }
}
#password {
    padding-right: 40px; /* Make space for eye icon */
    position: relative;
}

.toggle-password {
    position: absolute;
    margin-left: -35px; /* Pull it into the input field */
    margin-top: 4px;
    cursor: pointer;
}

.toggle-password svg {
    width: 30px;
    height: 30px;
    color: #666;
}
.password-validation {
    display: none;
}
#validation-password,
#validation-password_confirmation {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    padding: 12px 16px;
    margin-top: 8px;
    width: 100%;
    max-width: 400px;
    font-size: 14px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    z-index: 1000;
}

#passwordValidationBox ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

#passwordValidationBox li {
    margin-bottom: 8px;
}

.valid {
    color: green;
}

.invalid {
    color: red;
}

@media screen and (max-width: 480px) {
    #passwordValidationBox {
        font-size: 13px;
        padding: 10px;
    }
}
