/* Color */
:root {
    --primary-color: #502BF4;
    --secondary-color: #502BF490;
    --text-color: #502BF4;
    --hover-color: #F939A1;
    --white-color: #fff;
    --third-color: #ecebeb;
    --pink-color: #F939A1;
    --forth-color: #E1F1FF;
    --red-color: #F55354;
    --paste-color: #502BF4;
    --yellow-color: #C02BF4;
    --disabled-color: #F6F4FE;
    --submenu-color: #6c4df6;
    --submenu2-color: #937bfd;
    --opacity-color: #F939A11A;
    --opacity2-color: #0038FF1A;
    --gray-color: #8a8a8a;
    --star-color: #ffd43b;
}

/* Common */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--secondary-color);
}

/* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 12px;
  }

  *::-webkit-scrollbar-track {
    background: var(--secondary-color);
  }

  *::-webkit-scrollbar-thumb {
    background-color: var(--hover-color);
    border-radius: 10px;
    border: 3px solid var(--hover-color);
  }

.flex{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

img{
    max-width: 100%;
    height: auto;
    width: 100%;
}

.width25{
    width: 100%;
    max-width: calc(25% - 20px);
    margin: 10px;
}

.width20{
    width: 100%;
    max-width: calc(20% - 20px);
    margin: 10px;
}

.width23{
    width: 100%;
    max-width: calc(23% - 20px);
    margin: 10px;
}

.width30{
    width: 100%;
    max-width: calc(30% - 20px);
    margin: 10px;
}

.width40{
    width: 100%;
    max-width: calc(40% - 20px);
    margin: 10px;
}

.width50{
    width: 100%;
    max-width: calc(50% - 20px);
    margin: 10px;
}

.width60{
    width: 100%;
    max-width: calc(60% - 20px);
    margin: 10px;
}

.width70{
    width: 100%;
    max-width: calc(70% - 20px);
    margin: 10px;
}

.width100{
    width: 100%;
    max-width: calc(100% - 20px);
    margin: 10px;
}

.box-shape{
    background-color: var(--white-color);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
}

.margin_left_0{
    margin-left: 0;
}

.margin_right_0{
    margin-right: 0;
}

/* Typography */
h1{
    font-size: 40px;
    font-weight: 700;
}

h2{
    font-size: 36px;
    font-weight: 700;
}

h3{
    font-size: 32px;
    font-weight: 700;
}

h4{
    font-size: 26px;
    font-weight: 700;
}

h5{
    font-size: 20px;
    font-weight: 700;
}

h6{
    font-size: 18px;
    font-weight: 700;
}

p,
a, 
li{
    font-size: 16px;
    font-weight: 400;
}

a{
    cursor: pointer;
    color: var(--primary-color);
    text-decoration: none;
}

a:hover{
    color: var(--hover-color);
}

strong{
    font-weight: 700;
}

input,
select,
textarea{
    font-size: 16px;
    padding: 10px 15px;
    line-height: 24px;
    border: 1px solid var(--secondary-color);
    width: 100%;
    background: transparent;
    text-transform: capitalize;
}

input[type="email"]{
    text-transform: lowercase;
} 

textarea{
    height: 80px;
    display: block;
}

button{
    width: 100%;
    font-size: 18px;
    padding: 0 15px;
    line-height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

button:hover{
    background-color: var(--hover-color);
    color: var(--white-color);
}

input:focus{
    outline: 0;
}

input:disabled,
select:disabled {
    background-color: var(--disabled-color);
}

input[type="radio"] {
transform: scale(1.5); /* Increase the size as needed */
}

table{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

td,
th{
    border: 1px solid var(--primary-color);
    border-bottom: 0;
    padding: 5px;
    text-align: center;
    text-transform: capitalize;
}

th{
    font-weight: 500;
    font-size: 16px;
    line-height: 35px;
}

tr:last-child td,
tr:last-child th{
    border-bottom: 1px solid var(--primary-color);
}

.alert{
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    text-align: center;
}

.alert-success{
    background-color: var(--hover-color);
    color: var(--white-color);
}

.alert-error{
    background-color: var(--red-color);
    color: var(--white-color);
}

.ui-widget-header .ui-icon:after{
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    text-indent: 0px;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center
}

.ui-datepicker-prev .ui-icon:after{
    transform: rotate(180deg);
}

@media(max-width: 780px){
    .width20,
    .width25,
    .width30,
    .width40,
    .width50,
    .width60,
    .width70,
    .width100{
        max-width: calc(100% - 20px);
    }
}