/* Global Styles */
body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    height: 100%;
    width: 100%;
    background-color: #000;
    overflow: hidden;
}

.landing-container {
    position: relative;
    height: 100vh;
    width: 100vw;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url('https://img.freepik.com/free-vector/programming-concept-illustration_114360-1351.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.profile-icon img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 50%;
    margin-right: 60px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.hidden {
    display: none;
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.tabs {
    display: flex;
    background-color: #e0e7ff;
    padding: 0.5rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    justify-content: space-between;
}

.tabs button {
    flex: 1;
    padding: 0.5rem 0;
    border: none;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    background: transparent;
    color: #555;
}

.tabs button.active {
    background: #fff;
    color: #000;
}

.modal-content h2 {
    margin: 0.5rem 0;
}

.modal-content p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input[type="email"],
.password-container input {
    padding: 0.75rem 1rem;
    padding-right: 2.75rem;
    /* reserve space for eye icon */
    font-size: 1rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
}

.password-container {
    position: relative;
}

.password-container span {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1rem;
}

.eye-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.eye-icon:hover {
    opacity: 1;
}

button[type="submit"] {
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
}

button[disabled] {
    background-color: #ccc;
    cursor: not-allowed;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #e0e7ff;
    border: none;
    padding: 0.75rem;
    width: 100%;
    border-radius: 9999px;
    font-size: 1rem;
    margin-top: 1rem;
    cursor: pointer;
}

.google-btn img {
    height: 20px;
    width: 20px;
}

.close-btn {
    background: none;
    border: none;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

.error-text {
    color: red;
    font-size: 0.85rem;
    margin-top: -0.5rem;
}

#verificationModal {
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

#verificationModal .modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}