/* Color */
:root {
    --primary-color: #1d009e;
    --secondary-color: rgb(27, 35, 98);
    --text-color: #502BF4;
    --text-color-2: #333;
    --hover-color: #ffae36;
    --white-color: #fff;
    --danger-color: #F55354;
    --disabled-color: #F6F4FE;
    --succeess-color: #093;
}

/* 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(--hover-color);
}

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

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

  *::-webkit-scrollbar-thumb {
    background-color: var(--primary-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;
}

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(--white-color);
    color: var(--primary-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: 25px;
}

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(--succeess-color);
    color: var(--white-color);
}

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

.pagination ul, ul.pagination {
    text-align: center;
    display: flex;
    justify-content: center;
}

.pagination ul li, ul.pagination li {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 30px;
    text-align: center;
    line-height: 30px;
    list-style-type: none;
}

ul.pagination li a{
    padding: 0;
    border: 0;
}

.page_active, .pagination ul li a:hover, 
ul.pagination li a:hover, 
ul.pagination li:hover a, 
ul.pagination li.page-item.active {
    background-color: var(--hover-color);
    color: var(--white-color);
}