/* Modal Background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Modal Content */
.modal-content {
    background-color: #111;
    margin: 10% auto;
    padding: 20px 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
}

/* Close Button */
.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
}

/* Tab Navigation */
.modal-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.modal-tabs button {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    color: #ffffff;
    transition: color 0.3s;
}

.modal-tabs button.active {
    border-bottom: 2px solid #000;
    color: #ffffff;
}

/* Form Styling */
.auth-form form {
    display: flex;
    flex-direction: column;
}

.auth-form label {
    margin: 10px 0 5px;
    font-weight: bold;
}

.auth-form input {
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.auth-form button {
    padding: 10px;
    border: none;
    background-color: #c491f4;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.auth-form button:hover {
    background-color: #9d74c3;
}