* {
    padding: 0;
    margin: 0;
}

body,
html {
    width: 100%;
    height: 100%;
    font-family: "Poppins", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: url('img.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-container {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 30px 50px 10px 50px;
    box-shadow: 0 10px 30px rgba(71, 203, 255, 0.3);
    transition: all 0.4s ease-in-out;
}

.form-container p {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

h2 {
    color: #FFF;
    text-align: center;
    font-family: "Poppins";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 20px;
}

.tab-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tab-buttons button {
    width: 48%;
    padding: 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #FFF;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2.5px;
    border: none;
    cursor: pointer;
}

.tab-buttons button.active {
    border-radius: 10px;
    border: 3px solid #01AAC1 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #01AAC1 !important;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 2.5px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    /* margin-top: 5px; */
    border-radius: 10px;
    border: 1px solid #01AAC1;
    background: rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    font-size: 14px;
    color: white;
}

.form-group input:focus {
    border-radius: 10px;
    border: 3px solid #01AAC1;
    outline: none;
}

.form-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.social-buttons {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.social-buttons button {
    width: 48%;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #01AAC1;
}

.social-buttons .google,
.facebook {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #01AAC1;
}

button.next-btn-1 {
    width: 100%;
    padding: 12px;
    border-radius: 20px;
    border: 3px solid #01AAC1;
    background: #1A3F5A;
    cursor: pointer;
    border-radius: 8px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 4px;
    margin-top: 20px;
}

button.next-btn {
    width: 100%;
    padding: 12px;
    border-radius: 20px;
    border: 3px solid #01AAC1;
    background: #1A3F5A;
    cursor: pointer;
    border-radius: 8px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 4px;
    margin-top: 20px;
}

.login-link {
    margin-top: 15px;
}

.login-link a {
    color: #01AAC1;
    font-weight: 800;
    line-height: normal;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.social-buttons-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.social-buttons-group button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 10px 0px;
}

.social-buttons-group button img {
    height: 22px;
    width: 22px;
}

.social-buttons-group .google,
.facebook {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #01AAC1;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
}

#facebook {
    margin-left: 15px;
}

.social-buttons-group button a {
    text-decoration: none;
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

#loginForm .forgot {
    text-decoration: none;
    cursor: pointer;
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 3px;
}

.sign-in {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0px 20px 0px;
}

.sign-in .line {
    height: 1px;
    width: 100px;
    border: 1px solid white;
    border-radius: 5px;
    margin-top: 12px;
    box-shadow: 0 5px 5px #fff;
}

.sign-in a {
    text-decoration: none;
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-top: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #ffffff;
}

p {
    margin-bottom: 15px;
    font-size: 15px;
    color: #ffffff;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 40px 0px;
    gap: 20px;
    margin: 0;
}

.otp-inputs input {
    background: transparent;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    color: white;
    border: 1px solid #01aac1;
    border-radius: 10px;
    transition: all 0.2s;
    outline: none;
}

.otp-inputs input:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
}

.OTP{
    margin: 0;
}

#resend-code {
    display: block;
    margin-bottom: 15px;
    text-decoration: none;
    color: #01aac1;
    cursor: pointer;
    text-align: center;
}

#resend-code:disabled {
    color: white;
    cursor: not-allowed;
}

.terms-container {
    margin: 30px 0px;
    text-align: left;
    text-align: center;
}

.terms-container input {
    margin-right: 5px;
    color: white;
    font-weight: 700;
}

.check{
    background-color: transparent;
}

.terms-container label {
    margin-right: 5px;
    color: white;
}

#verify-btn {
    width: 100%;
    padding: 10px;
    background-color: #1a3f5a;
    border: 2px solid #01aac1;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#verify-btn:disabled {
    background-color: grey;
    cursor: not-allowed;
    margin-bottom: 50px;
}

#verify-btn:active {
    background-color: #0056b3;
}

#loading-spinner {
    display: none;
    margin-left: 10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media(max-width: 500px) {
    .otp-inputs input {
        width: 50px;
        height: 50px;
    }

    .verification-box {
        width: 100%;
        max-width: 300px;
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .form-container {
        width: 90%;
        padding: 5px;
        margin: 0;
    }

    h2 {
        font-size: 18px;
    }

    .tab-buttons button {
        padding: 8px;
    }

    button.next-btn {
        font-size: 14px;
    }
}

/* Animation for smooth form switching */
.form-group {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.hidden {
    display: none;
    opacity: 0;
}

