* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --cosmic-latte: #FFF9E8;
}

body {
    font-family: "Inter", sans-serif;
}

.d-flex{
    display: flex;
}
.justify-center{
    justify-content: center;
}
.items-center{
    align-items: center;
}
.text-black{
    color: #000;
}
.text-white{
    color: #fff;
}
.rounded-12{
    border-radius: 12px !important;
}
.rounded-50{
    border-radius: 50px !important;
}
.text-center{
    text-align: center;
}

.section-break {
    margin: 95px 0px;
    outline: none;
    border: none;
    height: 1px;
    opacity: 0.12;
    background: #000;
}

.container{
    max-width: 1390px;
    width: 100%;
    padding: 0px 15px;
    margin: 0px auto;
}
.inner-container{
    max-width: 1314px;
    padding: 0px 15px;
    margin: 0px auto;
}

/* Overlay and Popup positioning */
.auth-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    position: relative;
}

/* Close button */
.close-auth-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

/* Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
}

.auth-tab-btn {
    flex-grow: 1;
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.auth-tab-btn.active {
    border-bottom: 3px solid #0073aa; /* WP primary color */
    color: #0073aa;
}

/* Tab content */
.auth-tab {
    display: none;
}

.auth-tab.active {
    display: block;
}

/* Form Styling */
.auth-popup-content input[type="text"],
.auth-popup-content input[type="password"],
.auth-popup-content input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.auth-popup-content button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #2271b1; /* WP button color */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* Messages */
.auth-message-area {
    margin: 10px 0;
    min-height: 20px; /* To prevent jumping when messages appear */
}

.auth-message-area p {
    padding: 10px;
    border-radius: 4px;
    margin: 0;
    font-size: 14px;
}

.auth-message-area .error {
    background-color: #fcebeb;
    color: #dc3232;
    border: 1px solid #dc3232;
}

.auth-message-area .success {
    background-color: #f8fff0;
    color: #46b450;
    border: 1px solid #46b450;
}