body {
    background-color: #E1E6E9;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.bodybg {
    background-color: #F7F9FC;
    font-family: 'Inter', sans-serif;
    background-image: url('/ExpenseTracking/image/webBG.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0; 
    min-height: 90vh; 
}

.left-group-box,
.right-group-box {
    position: absolute; 
    z-index: 1;
}

.left-group-box {
    left: 20px;
    top: 85px;
}

.right-group-box {
    position: fixed;
    right: 20px;
    bottom: 20px;
}

#GroupBox1,
#GroupBox2 {
    width: 144px;
    height: 361px;
}

@media (max-width: 768px) {
    .left-group-box,
    .right-group-box {
        display: none;
    }
}

.title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

.title h2, .title h5, .title h1 {
    font-weight: bolder;
    margin-bottom: 15px;
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.title p a {
    color: #2B5DAE;
}

.form-container::before,
.form-container::after {
    content: '';
    position: absolute;
    background-color: #add8e6; 
    opacity: 0.6;
    transform: rotate(45deg);
    z-index: -1;
}

.form-container::before {
    width: 150px;
    height: 150px;
    top: 10%; 
    left: 5%; 
    border-radius: 10px; 
}

.form-container::after {
    width: 100px;
    height: 100px;
    bottom: 10%; 
    right: 10%; 
    border-radius: 8px; 
}

/* FORM DESIGN*/
.signup-card {
    background-color: #fff; 
    padding: 35px;
    border-radius: 10px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 400px; 
    width: 100%;
    text-align: center;
}

.signup-card label {
    display: block;
    text-align: left;
    font-weight: bold;
    margin-bottom: 5px;
    color: #000000; 
}

.signup-card .subtitle {
    font-size: 1.1rem;
    color: #007bff; 
    margin-bottom: 30px;
    font-weight: 500;
}

.signup-card .form-group {
    margin-bottom: 20px;
    position: relative; 
}

.signup-card .form-control {
    border-radius: 10px; 
    padding: 12px 15px 12px 45px; 
    height: auto;
    font-size: 1rem;
    border: 1px solid #000000;
    background-color: #EEF2F9; 
}

.signup-card .form-control-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #2B5DAE; 
    font-size: 1.1rem;
}

.toggle-password {
    cursor: pointer;
    padding: 0 0.75rem;
}

.sublink-container{
    text-align: right;
}

.sublink a{
    color:#000000;
    font-weight: bold;
}

.form-text .text-danger {
    font-size: 0.875em;
}

.text-danger {
    display: none;
    margin-top: -10px;  
    color: #FF0000 !important;
    font-weight: bold !important;
    margin-bottom: 10px;
}

.requirements {
    color: #FF0000;
    font-weight: bold;
}

.req-list {
    margin-top: -10px;
    display: none;
    text-align: left;
}

.list-unstyled { 
    padding-left: 0;
    list-style: none;
    margin-bottom: 0.5rem;
}

.list-unstyled li {
    font-size: 0.875em;
}

.signup-card .btn-login,
.signup-card .btn-register {
    background-color: #2B5DAE; 
    border-color: #2B5DAE;
    color: #fff;
    padding: 10px 0;
    border-radius: 8px; 
    font-weight: bold;
    font-size: 1.1rem;
    width: 100%; 
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.signup-card .btn-login:hover,
.signup-card .btn-register:hover {
    background-color: #092e69;
    border-color: #092e69;
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.center-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 75vh;
}

#roleForm .form-check{
    margin-bottom: 30px;
    font-size: 22px;
}

.custom-radio input[type="radio"] {
  display: none;
}

.custom-radio {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 10px;
  font-weight: 500;
  position: relative;
  padding-left: 35px;
}

.custom-radio .radio-box {
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border: 2px solid #000000; 
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.3s ease;
  margin-right: 20px;
}

.custom-radio input[type="radio"]:checked + .radio-box::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 19px;
  height: 19px;
  background-color: #2B5DAE;
  border-radius: 50%;
}

.custom-radio:hover .radio-box {
  border-color: #0056b3;
}



@media (max-width: 768px) {
    .signup-card {
        padding: 30px;
        margin: 20px; 
    }
    .signup-card h2 {
        font-size: 1.8rem;
    }
    .signup-card .subtitle {
        font-size: 1rem;
    }

    .form-container::before {
        width: 100px;
        height: 100px;
        top: 5%;
        left: 2%;
    }
    .form-container::after {
        width: 70px;
        height: 70px;
        bottom: 5%;
        right: 5%;
    }
}