/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

textarea {
    resize: vertical;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 75px;
    border-bottom: 0.5px solid #ccc;
}

.mainLogo {
    width: 220px;
    height: 50px;
    cursor: pointer;
}

.headerBtn {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
}

.headerBtn:hover {
    background-color: #EBF4FF;
    color: #0063DB;
    border-color: #0063DB;
}

.mainBox {
    width: 700px;
    height: 500px;
    position: relative;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mainDiv {
    background: #f5f5f5;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 200px);
    display: flex;
    padding-top: 50px;
}

.pointBox {
    position: absolute;
    top: -40px;
}

.MuiSvgIcon-root {
    width: 560px;
    height: 8px;
    margin-bottom: 15px;

}

.loginForm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: #fff;
    border-radius: 10px;
    gap: 15px;
    width: 430px;
    padding: 30px;
    box-shadow: 0 4px 10px #0000001a;
    margin-bottom: 15px;
}

.loginForm h2 {
    font-size: 32px;
    font-weight: bold;
}

.inputBox {
    width: 382px;
}

.inputBox p {
    font-size: 14px;
}

.inputBox input {
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    height: 32px;
    padding: 10px;
    box-sizing: border-box;
    outline: none;
}

.inputBox input:focus {
    border-color: #999;
}

.inputBox .error {
    display: none;
    color: #e53935;
    font-size: 13px;
    margin-top: 5px;
}

.inputBox.error input {
    border-color: #e53935;
}

.inputBox.error .error {
    display: block;
}

.formBtn {
    color: #fff;
    cursor: pointer;
    cursor: pointer;
    background: #0070f3;
    border: none;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    height: 40px;
    margin-top: 20px;
    padding: 10px;
    display: flex;
    width: 382px;
    font-weight: bold;
}

.linkBox {
    justify-content: space-between;
    margin-top: 15px;
    display: flex;
    width: 100%;
}

.linkBox a {
    cursor: pointer;
    color: #0063db;
    font-size: 14px;
}

.textBox {
    color: #5b6371;
    text-align: center;
    max-width: 314px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 400;
}

.secondP {
    margin-bottom: 10px;
    text-decoration: underline;
    font-weight: bold;
}

.secondP:hover {
    color: #0070f3;
    cursor: pointer;
}

.footerBox {
    position: relative;
    width: 100%;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    padding-right: 15px;
    height: 125px;
    align-items: center;
}

.errorBox {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 25px 16px;
    color: rgb(95, 33, 32);
    background-color: rgb(253, 237, 237);
    border-radius: 6px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.errorBox svg {
    width: 24px;
    height: 24px;
    fill: #C31909;
    flex-shrink: 0;
}

.errorBox p {
    margin: 0;
    font-size: 14px;
    color: #C31909;
}

.closeError {
    cursor: pointer;
}

.contactImgBox {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.contactImgBox img:hover {
    width: 66px;
    height: 66px;
    cursor: pointer;
}

.passwordInput {
    position: relative;
    width: 100%;
}

.passwordInput input {
    padding-right: 40px;
}

.passwordEye {
    position: absolute;
    width: 18px;
    height: 18px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* SECONDDDDDDDDDDDDDDD PAGEEEEEEEEEEEEEEEEEEEEEEE */

.loginForm2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
    background: #fff;
    border-radius: 10px;
    gap: 15px;
    width: 430px;
    padding: 30px;
    box-shadow: 0 4px 10px #0000001a;
    margin-bottom: 15px;
}

.h2Box {
    display: flex;
    align-items: center;
}

.h2Box svg {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
}

.h2Box h2 {
    font-size: 24px
}

.didntP {
    color: #5b6371;
    margin-top: 15px;
    font-size: 14px;
}

.resendP {
    cursor: pointer;
    color: #0063db;
    font-size: 14px;
}

.reciveBox {
    width: 100%;
    display: flex;
    justify-content: center;
}

.reciveBox p {
    text-align: center;
    color: #0063db;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.latestDiv {
    border: 1px solid #03a9f4;
    border-radius: 6px;
    padding: 15px;
}

.twofaBox {
    display: flex;
    gap: 10px;

}

.twofaBox svg {
    width: 30px;
    height: 30px;
    fill: #0063db;
}

.twofaBox p {
    font-size: 14px;
    color: #034463;
}

.latestP {
    color: #1976d2;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    margin-left: 30px;
}

.errorBox2 {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 25px 16px;
    color: rgb(95, 33, 32);
    background-color: rgb(253, 237, 237);
    border-radius: 6px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.errorBox2 svg {
    width: 24px;
    height: 24px;
    fill: #C31909;
    flex-shrink: 0;
}

.errorBox2 p {
    margin: 0;
    font-size: 14px;
    color: #C31909;
}

.closeError2 {
    cursor: pointer;
}

.formBtn {
    position: relative;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}