:root{
  --color-primary: #1828b8;
  --color-danger: #ff7782;
  --color-success: #41f1b6;
  --color-warning: #ffbb55;
  --color-white: #fff;
  --color-info-dark: #1e1e1f;
  --color-info-light: #939fb6;
  --color-dark: #363949;
  --color-light: rgba(61, 109, 176, 0.18);
  --color-light-2: rgba(52, 58, 116, 0.20);
  --color-primary-variant: #111e88;
  --color-dark-variant: #677483;
  --color-background: #f0f0f0;

  --light: #f9f9f9;
  --blue: #3c91e6;
  --light-blue: #a9d5ff;
  --light-red: #f38c8c;
  --light-green: #a7f9d0;
  --grey: #eee;
  --dark-grey: #aaaaaa;
  --drak: #342e37;
  --red:  #e88383;
  --green: rgb(94, 232, 129);
  --color-info-dark: #919497;

  --color-border-radius: 2rem;
  --color-border-radius-1: 0.4rem;
  --color-border-radius-2: 0.8rem;
  --color-border-radius-3: 1.2rem;


  --card-padding: 1.8rem;
  --padding-1: 1.2rem;

  --box-shadow: 0 2rem 3rem var(--color-light);
}

*{
  margin: 0;
  padding: 0;
  outline: none;
  border: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

html{
  font-size: 16px;
}

.mainDashboardContainer{
  width: 100vw;
  height: 100vh;
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  background: var(--color-background);
  user-select: none;
  overflow-x: hidden;
  color: var(--color-dark);
}

/* ========== MAIN DASHBOARD DESIGN ========== */
.arawAtOras{
    display: flex;
    justify-content: space-between;
    padding: 5px 20px;
    background-color: rgb(0, 0, 0);
    color: rgb(246, 246, 246);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add box shadow */
}

.MainBodyContainerr {
display: flex; /* Ensure it uses flexbox to manage layout */
flex-direction: column; /* Stack children vertically */
height: 100vh; /* Make sure it takes full viewport height */
}

.MainContainerForTables {
display: flex;
justify-content: center;
width: 100%;
flex: 1; /* Allow it to grow and take available space */
overflow: hidden; /* Prevent scrollbars here */
}

.MainContainerAll {
display: flex;
width: 100%;
flex: 1; /* Allow it to grow and shrink with available space */
}

.left {
    position: relative;
    background: #99b7d1;
    width: 63%;
    height: 100%;
}

.HoaOffice {
    width: 100%;  /* Make the image fill the container width */
    height: 100%; /* Make the image fill the container height */
    object-fit: cover; /* Ensure the image covers the container area without stretching */
}

.MhNavv{
  display: flex;
  align-items: center;
}

.MhNavv a {
    font-size: 13px;
    padding: 11px 20px;
    padding-bottom: 16px; /* Add padding at the bottom for spacing */
    color: rgb(255, 255, 255);
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    overflow: hidden; /* Ensures the pseudo-element doesn't overflow */
}

/* Animated Bottom Border using ::after */
.MhNavv a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px; /* Border height */
    background-color: #f1f1f1;
    transform: scaleX(0); /* Start with scaleX(0), so the border is not visible */
    transform-origin: bottom right;
    transition: transform 0.3s ease; /* Transition for the animation */
}
  
.MhNavv a:hover::after {
    transform: scaleX(1); /* Expand the border from left to right */
    transform-origin: bottom left; /* Origin of the scale from the left */
}
  
/* Active state with bottom border */
.MhNavv a.activee {
    color: rgb(207, 207, 207);
    /* border-bottom: 2px solid #f1f1f1; */
}

.MhNavv a.activee::after {
    width: 50%; /* Half the width of the element */
    left: 50%; /* Start the border from the center */
    transform: scaleX(1); /* Ensure the border is visible */
    transform-origin: bottom left; /* For consistency */
    margin-left: -25%; /* Center the border (half the width) */
}

.LogoLandingPage{
    display: flex;
    align-items: center;
}

.Logoo{
    width: 60px;
}

.NameOfSubdi{
    margin-left: 8px;
    color: white;
}

/* DESIGN PARA SA HEADER */
.img-logo{
  width: 100px;
}

.headerTopMain{
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* height: 50px; */
  width: 100%;
  background: var(--color-primary);
  padding: 15px;
  top: 0;
  box-shadow: 5px 10px 18px #888888;
  box-shadow: 0 8px 8px -10px black;
  z-index: 1;
}

/* DESIGN PARA SA RIGHT SIDE */
.right{
    /* display: none; */
    background: white;
    max-width: 37%;
    width: 100%;
    /* height: 100vh; */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.imgLogo {
    width: 150px;
    margin-bottom: 20px;
}

.LogoLog-In{
    display: flex;
    justify-content: center;
}

.LoginForm{
    max-width: 455px;
    /* margin: 10px; */
    width: 100%;
}

.login-title{
    display: flex;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    color: #232836;
}

/* DESIGN PARA SA LOGIN FORM */
input[type="password"]::-ms-reveal {
    display: none;
}

.LoginInputField {
    height: 40px;
    width: 100px;
    position: relative;
    margin-top: 30px;
    width: 100%
}

.inputLogin {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(118, 147, 193, 0.4);
    background: white;
    border-radius: 5px;
    outline: none;
    color: black;
    font-size: 1em;
    transition: 0.5s;
}

.SpanLogin {
    position: absolute;
    left: 0;
    padding: 10px;
    pointer-events: none;
    font-size: 1em;
    color: rgba(118, 147, 193, 0.4);
    text-transform: capitalize;
    transition: 0.2s;
}

.ImgIcon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 20px;
}

.inputLogin:valid~span,
.inputLogin:focus~span {
    color: var(--color-primary);
    transform: translateX(5px) translateY(-7px);
    font-size: 0.70em;
    padding: 0 3px;
    background: white;
}

.inputLogin:valid,
.inputLogin:focus {
    border: 1px solid var(--color-primary);
}

/* DESIGN PARA SA MATA NG PASSWORD */
.MataNgPassword, .ImgIcon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    width: 23px;
}

/* ==== ForgotPass Button Design ===== */
.forgotpass-container {
    display: flex;
    margin-top: 7px;
    justify-content: end;
}

.forgotpass-container a {
    text-decoration: none;
}

.forgotpass-container a:hover {
    text-decoration: underline;
}

.forgot-text {
    color: var(--color-primary);
}

/* ===== Login Button Design ===== */
.btn-login {
    margin-top: 35px;
}

.login-press {
    width: 100%;
    height: 40px;
    border: none;
    font-size: 20px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--color-border-radius-1);
}

/* ===== Sign Up link Design ===== */
.signtext-container {
    margin-top: 10px;
    text-align: center;
}

.BtnSignUp {
    border: none;
    background: transparent;
    color: #1828b8;
    font-size: medium;
    cursor: pointer;
}

.BtnSignUp:hover {
    text-decoration: underline;
}

/* ===== Sign Up Laman Design ===== */
.SignUpForm {
    position: relative;
    /* max-width: 470px; */
    /* height: 400px; */
    width: 100%;
    /* background-color: var(--color-white);
    border-radius: var(--color-border-radius);
    box-shadow: var(--box-shadow); */
    /* margin: 0 15px; */
    overflow-y: auto;
    padding: 10px;
    /* background: gray; */
    scrollbar-width: thin;
}

.OneInputField {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.SignUpInput {
    position: relative;
    height: 35px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #000000;
    margin-top: 5px;
    border: 1px solid rgba(62, 65, 71, 0.4);
    border-radius: 5px;
    background: transparent;
    padding: 0 15px; /* Adjust padding for icons */
}

.SignUpInput::placeholder {
    color: rgba(71, 77, 86, 0.4);
}

.SignUpInput:focus {
    border-color: var(--color-primary);
}

.SignUpInput:focus::placeholder {
    color: var(--color-primary);
}

.RowInputFields {
    display: flex;
    column-gap: 15px;
}

/* DROPDOWN PARA SA LOT AND BLOCK */
.dropdownBL {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Style the arrow icon */
.arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #aeaeae;
    position: absolute;
    right: 10px;  /* Position the arrow in the right corner */
    top: 50%;
    transform: translateY(-50%);  /* Center the arrow vertically */
    transition: transform 0.3s ease-in-out;
}

/* Style the dropdown content (hidden by default) */
.dropdownContenttt {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    height: 120px;
    overflow-y: auto;
    scrollbar-width: thin;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Style each dropdown item */
.dropdown-itemss {
    color: black;
    padding: 12px 16px;
    cursor: pointer;
}

/* Change color when you hover over an item */
.dropdown-itemss:hover {
    background-color: #ddd;
}

/* Show the dropdown content when the dropdown is active */
.dropdownBL.open .dropdownContenttt {
    display: block;
}

/* Rotate the arrow when the dropdown is active */
.dropdownBL.open .arrow {
    transform: rotate(180deg);
}

/* DESIGN PARA SA DROPDOWN NG GENDER */
.dropdown-button {
    height: 35px;
    width: 100%;
    border: 1px solid rgba(62, 65, 71, 0.4);
    border-radius: 5px;
    background: transparent;
    padding: 0 15px;
    line-height: 35px;
    cursor: pointer;
    font-size: 1rem;
    color: #000;
    box-sizing: border-box;
    position: relative; /* Ensure it is positioned correctly */
    display: flex;
    justify-content: space-between; /* Space between text and the arrow */
    align-items: center;
}

/* Arrow style (triangle) */
.dropdown-button .arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #aeaeae; /* Arrow color */
    transition: transform 0.3s ease-in-out;
    position: absolute;
    right: 15px; /* Position the arrow on the right side */
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    max-height: 200px;
    overflow-y: auto;
    top: 100%;
    left: 0;
    border-radius: 5px;
    padding: 5px 0;
}

/* Show dropdown content */
.dropdown-content.show {
    display: block;
}

/* Dropdown options */
.dropdown-content label {
    display: block;
    padding: 10px;
    cursor: pointer;
}

.dropdown-content label:hover {
    background-color: #e1e1e1;
}

/* Rotate the arrow when dropdown is active */
.dropdown-button.active .arrow {
    transform: rotate(180deg);
}

/* DESIGN PARA SA BAGONG PWD (DROPDOWN) */
/* .disabilities-dropdown-button {
    height: 35px;
    width: 100%;
    border: 1px solid rgba(62, 65, 71, 0.4);
    border-radius: 5px;
    background: transparent;
    padding: 0 15px;
    line-height: 35px;
    cursor: pointer;
    font-size: 1rem;
    color: #000;
    box-sizing: border-box;
    position: relative; 
}

.disabilities-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    max-height: 200px;
    overflow-y: auto;
    top: 100%;
    left: 0;
    border-radius: 5px;
    padding: 5px 0;
}


.disabilities-dropdown-content.show {
    display: block;
}


.disabilities-dropdown-content label {
    display: block;
    padding: 10px;
    cursor: pointer;
}

.disabilities-dropdown-content label:hover {
    background-color: #e1e1e1;
} */


/* Hide radio buttons */
.Pili {
    display: none;
}

/* Design para sa PWD CheckBox */
.radioButtonPwd{
    display: flex;
    justify-content: center;
}

.check1{
    padding-right: 50px;
}

.spanCheck{
    font-size: 15px;
}

.ashte{
    color: red;
}

/* Design para sa Next Button */
.NextBtnCon {
    width: 100%;
    margin-top: 10px;
}

.NextBtn {
    width: 100%;
    border: none;
    padding: 10px;
    font-size: medium;
    background: var(--color-primary);
    color: white;
    cursor: pointer;
}

.NextBtn:hover {
    background: #2739e1;
}

/* Design para sa Email Container */
.ButtonNextAndBack {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.EmailParag{
    margin-bottom: 20px;
    font-style: italic;
}

.EmailParagg {
    text-align: center;
    margin-top: 10px;
    /* font-style: italic; */
}

.OtpParagg {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.OtpInt {
    text-align: center;
    font-size: medium;
    border: none;
}

/* Design para sa pag create ng password */
.CreatePassSign {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.MataSign {
    position: absolute;
    right: 10px; /* Position the icons to the right side */
    top: 56%;
    transform: translateY(-50%); /* Vertically center the icons */
    width: 23px; /* Adjust icon size */
    cursor: pointer;
    margin-left: 5px;
}

/* DESIGN PARA SA HAMBURGER PAG LUMIIT YUNG SCREEN */
.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #ffffff;
    margin-right: 15px;
}

/* DESIGN PARA SA IROR AT SA SAKSES */
/* .iror{
    color: #721c24;
    padding: 8px 10px;
    text-align: center;
    border-radius: 5px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    margin-bottom: 10px;
    display: none;
}

.irorSignup{
    color: #721c24;
    padding: 8px 10px;
    text-align: center;
    border-radius: 5px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    margin-bottom: 10px;
    margin-top: 10px;
    display: none;
}
.sakses {
    color: #1c7224; 
    padding: 8px 10px;
    text-align: center;
    border-radius: 5px;
    background: #d7f8da; 
    border: 1px solid #c6f5cb; 
    margin-bottom: 10px;
    display: none;
} */

/* ETO YUNG SA PAGTAGO NG MGA FORM */
.PersonalDetails {
    display: block; /* Show the first form */
}

.EmailForm, .OtpForm {
    display: none; /* Hide the other forms */
}

/* .SignUpInput.emailed {
    margin-bottom: 20px;
} */

/* Para sa password criteria */

.criteria {
    list-style: none;
    padding: 0;
}
.criteria li .text {
    color: rgb(128, 128, 128); /* Default */
}
.criteria li.valid .text {
    color: green;
}
.criteria li.invalid .text {
    color: red;
}


/* Overlay Background */
.modal-success-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: modal-success-fadeIn 0.3s ease;
}

/* Modal Container */
.modal-success-content {
  background-color: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  max-width: 400px;
  width: 100%;
  animation: modal-success-scaleUp 0.3s ease;
}

/* Checkmark Icon */
.modal-success-icon {
  font-size: 40px;
  color: #28a745;
  margin-bottom: 15px;
}

/* Title */
.modal-success-title {
  margin-top: 0;
  font-size: 20px;
  color: #333;
}

/* Message Text */
.modal-success-message {
  color: #555;
  font-size: 14px;
  margin-bottom: 25px;
  margin-top: 10px;
}

/* Button */
.modal-success-btn {
  background-color: #28a745;
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-success-btn:hover {
  background-color: #218838;
}

/* Animations */
@keyframes modal-success-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-success-scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}





/* For mobile view */
@media (max-width: 905px) {
    .MhNavv {
        display: none; /* Hide navbar items initially on mobile */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 95px;
        left: 0;
        background-color: #0400ff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .MhNavv li {
        margin: 15px 0;
        text-align: center;
        width: 100%; /* Make list items take full width */
    }

    .MhNavv a {
        display: block;
        padding: 15px; /* Adjust padding as needed */
        width: auto; /* Make the link width auto initially */
        text-align: center; /* Center align the text */
    }

    /* When the navbar is active (hamburger clicked), display the items */
    .MhNavv.active {
        display: flex;
    }

    /* When hovering over a link, make it expand to 100% width */
    .MhNavv a:hover {
        color: rgb(0, 51, 255);
        width: 100%; /* Expands the link to take full width */
        background-color: white; /* Optional background on hover */
    }

    /* Active state on click in mobile view */
    .MhNavv a.clicked {
        color: rgb(0, 51, 255); /* Change text color when clicked */
        background-color: white; /* Change background color when clicked */
    }

    /* Show hamburger menu on mobile */
    .hamburger {
        display: block;
    }

    .RowInputFields {
        flex-direction: column; /* Stack vertically on smaller screens */
        width: 100%; /* Make sure the whole container takes full width */
    }

    .OneInputField {
        width: 100%; /* Ensure inputs take full width on mobile */
    }

    .OneInputField label {
        font-size: 16px; /* Larger label text for mobile */
        margin-bottom: 12px; /* Add some more space between label and input */
    }

    .SignUpInput {
        width: 100%; /* Ensure the input takes full width */
        padding: 12px; /* Add some padding for better look */
        font-size: 16px; /* Larger text for mobile */
    }

    /* Ensure the dropdown behaves properly */
    .dropdownBL {
        width: 100%;
    }

    .MainContainerAll {
        flex-direction: column;
    }

    .left {
        width: 100%;
        height: 30%;
    }

    .right{
        max-width: 100%;
        height: 70%;
    }

    .imgLogo {
        display: none;
    }
}


@media (max-width: 450px) {
    .NameOfSubdi h1 {
        font-size: 19px !important;
        /* justify-content: center; */
    }

    .NameOfSubdi h3 {
        font-size: 12px !important;
    }
    
    .MhNavv {
        top: 75px;
    }

    .headerTopMain {
        padding: 5px;
    }
    
    .hamburger {
        margin-right: 15px;
    }

}
