/* 
    Color Pallete
    #F5FBF2 - Light Green White
    #0D9800 - Green
    #19AC96 - Basta Medyo Blue
*/

body {
    background-color: #F5FBF2;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: bold;
    font-family: 'Red Hat Display';
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 28;
}

h4 {
    font-size: 24;
}

h5 {
    font-size: 20;
}

.para--1 {
    font-family: 'Mulish';
    font-size: 20px;
}

.para--2 {
    font-family: 'Mulish';
    font-size: 16px;
}

.logo-image {
    height: 90px;
    user-select: none;
    cursor: pointer;
}

nav a {
    color: black;
    text-decoration: none;
    font-family: 'Mulish';
    font-size: 20px;
    font-weight: bold;
    transition: 0.25s ease-out;
}

nav a:hover {
    color: #19AC96;
}

nav a.active {
    color: #19AC96;
}

.login-button {
    background-color: #19AC96;
    padding: 5px 25px 5px;
    border: none;
    color: white;
    font-family: 'Mulish';
    font-size: 20px;
    border-radius: 8px;
}

.portal-button {
    position: relative;
    user-select: none;
    display: inline-block;
    overflow: hidden;
    background-color: #19AC96;
    padding: 5px 25px;
    border: none;
    color: white;
    font-family: 'Mulish', sans-serif;
    font-size: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.4s ease-in-out;
}

/* Create the hover effect using ::before */
.portal-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #0D9800;
    transition: left 0.4s ease-in-out;
    border-radius: 8px;
    z-index: 0;
}

/* Move the background color from left to right on hover */
.portal-button:hover::before {
    left: 0;
}

/* Ensure text stays above the effect */
.portal-button span {
    position: relative;
    z-index: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

.menu-content {
    padding: 20px;
}

.mobile-nav a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.mobile-nav a.active {
    font-weight: bold;
    color: #007bff;
}

.close-btn {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    text-align: right;
    width: 100%;
}

.burger-menu {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.input--style--1 {
    background-color: #D6D6D6;
    border-radius: 4px;
    border: none;
    padding: 10px 20px;
    outline: none;
    /* Removes default focus outline */
    transition: all 0.3s ease-in-out;
    /* Smooth transition */
}

.input--style--1:focus {
    background-color: #ffffff;
    border: 2px solid #19AC96;
    box-shadow: 0px 0px 5px rgba(13, 152, 0, 0.5);
    outline: none;
}

.input--style--1::placeholder {
    color: #858585;
    font-size: 16px;
    font-family: 'Mulish';
    font-weight: bold;
}

.input--file {
    display: none;
    /* Hide default file input */
}

.custom-file-upload {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #D6D6D6;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    transition: background-color 0.3s;
    font-family: 'Mulish';
    font-weight: bold;
    color: #858585;
}

.custom-file-upload:hover {
    background-color: #bfbfbf;
}

.custom-file-upload i {
    font-size: 16px;
    color: #555;
}

.select--style--1 {
    background-color: #D6D6D6;
    border-radius: 4px;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Mulish';
    font-weight: bold;
    color: #858585;
    appearance: none;
    /* Removes default arrow in some browsers */
}

.select--style--1:focus {
    outline: none;
    border: 2px solid #0D9800;
}

.select--style--1 option {
    color: #858585;
    font-size: 16px;
    font-family: 'Mulish';
    font-weight: bold;
}

.calendar-container {
    margin-top: 50px;
}

.calendar {
    min-height: 350px;
    width: 100%;
    height: 100%;
    border-collapse: collapse;
}

.calendar th,
.calendar td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ccc;
}

.calendar th {
    background-color: #f8f9fa;
}

.calendar td {
    cursor: pointer;
}


.modal-body input {
    margin-bottom: 10px;
}

/* Style for today's date */
.calendar td.today {
    background-color: #19AC96;
    /* You can choose a color that suits your theme */
    font-weight: bold;
    color: white;
}

/* Event title styling */
.calendar td.event {
    font-weight: bold;
    background-color: #0D9800;
    color: white;
    /* Adjust the color if needed */
}

/* Optional: Style for previous/next month days (optional) */
.calendar td.text-muted {
    color: #6c757d;
    /* Muted text color for out-of-month days */
}

/* Default states */
.fadeIn,
.fadeLeft,
.fadeRight {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Final animation states */
.fade-in-animate {
    opacity: 1;
    transform: translateY(0);
}

.fadeLeft {
    transform: translateX(-30px);
}

.fade-left-animate {
    opacity: 1;
    transform: translateX(0);
}

.fadeRight {
    transform: translateX(30px);
}

.fade-right-animate {
    opacity: 1;
    transform: translateX(0);
}

/* Preloader styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F5FBF2;
    /* or any bg color */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #0D9800;
    /* your theme color */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}