.dom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dom-modal.hidden {
    display: none;
}

.dom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.dom-modal-content {
    position: relative;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 1.25rem;
    max-width: 500px;
    width: 90%;
    z-index: 10000;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.dom-modal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
    padding-right: 3rem;
}

.dom-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.dom-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.dom-form-group {
    margin-bottom: 1.5rem;
}

.dom-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.dom-form-group input,
.dom-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.dom-btn-primary {
    background: white;
    color: rgb(30, 41, 59);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.dom-btn-google {
    background: #4285f4;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
}

/* Google Sign In button - Custom button styling */
#dom-google-login-btn,
#dom-google-register-btn {
    width: 100%;
    margin-top: 1rem;
}

.dom-modal-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.dom-modal-footer a {
    color: #60a5fa;
    text-decoration: none;
}

