@font-face {
    font-family: kalameh;
    src: url("../fonts/KalamehWeb-Medium.woff2");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: kalameh;
    user-select: none;
}

.alert-box {
    background-color: white;
    color: #093923;
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    position: fixed;
    font-size: 14px;
    top: 20px;
    right: 20px;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    animation: fadeOut 3s forwards;
}

.alert-error {
    background-color: #ffe0e0;
    color: #d8000c;
    border: 1px solid #d8000c;
}

.alert-success {
    background-color: #e0ffe0;
    color: #4F8A10;
    border: 1px solid #4F8A10;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* BG START */

#bg {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* BG END */

/* Loading START */

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.loading img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
}

/* Loading END */

/* Index START */

.index {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    padding: 20px;
}

.index-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 40px;
}

.index-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.index-logo img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
}

.index-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.index-text p {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

.index-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.index-btn #login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.index-btn #create-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
}

/* Index END */

/* Login START */

.login {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
}

.login-back {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    left: 20px;
}

.login-back a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #093923;
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 20px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 450px;
}

.login-logo img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
}

.login-container form {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 50px 50px 0 0;
    flex-direction: column;
    padding: 20px;
    gap: 40px;
}

.form-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #093923;
}

.form-title p {
    font-size: 50px;
    font-weight: bold;
}

.form-title span {
    font-size: 14px;
}

.form-input {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.input-phone,
.input-password,
.input-repassword {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    background-color: #093923;
    border-radius: 10px;
    padding: 15px;
}

.input-phone input,
.input-password input,
.input-repassword input {
    outline: none;
    border: none;
    color: white;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    background-color: transparent;
}

.input-phone input::placeholder,
.input-password input::placeholder,
.input-repassword input::placeholder {
    color: rgb(200, 200, 200);
    text-align: right;
}

.input-phone i,
.input-password i,
.input-repassword i {
    font-size: 20px;
    color: white;
}

.form-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.form-btn input {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 10px;
    background-color: #093923;
    outline: none;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
}

.form-btn p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    font-size: 12px;
    color: black;
}

.form-btn p a {
    text-decoration: none;
    color: #093923;
}

/* Login END */

/* Register START */

.register {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    padding: 20px;
    background-color: white;
}

.register-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 50px;
}

.register-container form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
    width: 100%;
}

.input-name {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

.input-name input {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    outline: none;
    border: none;
    color: white;
    background-color: #093923;
    padding: 15px;
    border-radius: 10px;
}

.input-name input::placeholder {
    color: rgb(200, 200, 200);
}

.register-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.register-top img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
}

.register-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background-color: #093923;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 20px;
}

/* Register END */