.invite-page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    background-color: var(--light-bg);
}

.invite-container {
    width: 100%;
    max-width: 450px;
}

.invite-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.invite-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

.invite-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.invite-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group {
    text-align: left;
    margin-bottom: 1rem;
}

.btn.btn-primary {
    background-color: var(--primary-color);
    color: var(--black);
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #ccc;
}

.email-loader {
    position: absolute;
    right: 12px;
    top: 70%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    display: none;
    animation: spin 0.8s linear infinite;
}

.password-group {
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

.password-group.visible {
    max-height: 100px; /* Adjust as needed */
    opacity: 1;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
