/* //====// SHELL HEADER //====//
Type: CSS
Feature: Shell
Group: shell-header
Description: Fixed app header with logo, centered page title, and right-side action buttons.
*/
.header-brand-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600; /* or 500 if you want softer */
    font-size: 22px;
    
}
.swb-header {
    width: 100%;
    height: 72px;
    padding: 0 16px;
    background:  #A65424;
    background-color: #A65424;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    flex: 0 0 72px;
}

.swb-header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 42px;
    flex: 0 0 42px;
}

.header-logo {
    width: 42px;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.header-text-group {
    text-align: center;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 12px;
}

.header-page-title {
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.35em;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swb-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.swb-header-icon-button,
.swb-header-profile-button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #ffffff;
    position: relative;
}

.swb-header-icon-button {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.swb-header-notification-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    background: #FF7E33;
    border-radius: 999px;
    border: 1px solid #ffffff;
}

.swb-header-profile-button {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.swb-header-profile-icon {
    width: 16px;
    height: 16px;
    color: #ffffff;
}

/* //====// END SHELL HEADER //====// */


/* //====// SHELL CONTENT //====//
Type: CSS
Feature: Shell
Group: shell-content
Description: Main content wrapper and persistent background glyph.
*/

.swb-content {
    flex: 1 1 auto;
    overflow-y: auto;
    position: relative;
    z-index: 10;
    padding: 12px 20px 100px;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.bg-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60vw;
    font-weight: 800;
    font-style: italic;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
    line-height: 1;
    user-select: none;
}

/* //====// END SHELL CONTENT //====// */


/* //====// SHELL BOTTOM NAV //====//
Type: CSS
Feature: Shell
Group: shell-bottom-nav
Description: Premium fixed bottom nav with floating center community globe.
*/

.swb-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: rgba(217, 197, 178, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
   padding-bottom: 20px;
    z-index: 100;
    border-top: 1px solid rgba(61, 43, 35, 0.15);
    box-shadow: 0 -5px 25px rgba(61, 43, 35, 0.05);
    box-sizing: border-box;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #3D2B23;
    transition: all 0.2s ease;
    cursor: pointer;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.nav-item-icon {
    opacity: 0.35;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.nav-item-label {
    font-size: 7px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.4;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-item.active .nav-item-icon {
    opacity: 1;
    color: #A65424;
    transform: translateY(-2px);
}

.nav-item.active .nav-item-label {
    opacity: 1;
    color: #3D2B23;
}

.community-globe-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
		gap: 4px;
}

.community-globe {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -45px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 110;
}

.community-globe.selected {
    background: #A65424;
    box-shadow: 0 10px 25px rgba(166, 84, 36, 0.4);
    border: 4px solid #D9C5B2;
    color: #ffffff;
    transform: scale(1.05);
}

.community-globe.unselected {
    background: #484E37;

    color: #ffffff;
    border: 4px solid #D9C5B2;
    box-shadow: 0 10px 25px rgba(166, 84, 36, 0.25);
}

.nav-item.community-active .nav-item-label {
    opacity: 1;
    color: #3D2B23;
}

.nav-item.community-inactive .nav-item-label {
    opacity: 0.4;
    color: #3D2B23;
}

/* //====// END SHELL BOTTOM NAV //====// */

/* //====// AUTH SHELL LAYOUT //====//
Type: CSS
Feature: Auth
Group: auth-layout
Description: Splash, shell, viewport-safe scrolling, header sizing, and main auth layout.
*/

#swb-auth-view {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.swb-auth-splash {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--swb-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.swb-auth-splash-logo {
    width: 78px;
    height: auto;
}

.swb-auth-loader {
    width: 5rem;
    height: 0.28rem;
    border-radius: 999px;
    background: rgba(166, 84, 36, 0.22);
    overflow: hidden;
}

.swb-auth-loader-bar {
    width: 100%;
    height: 100%;
    background: var(--swb-highlight);
    animation: swbLoad 2.4s linear;
}

.swb-auth-shell {
    position: relative;
    z-index: 10;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 1.35rem 1.25rem 0.65rem;
}

.swb-auth-header {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    transition: transform 0.34s ease, opacity 0.24s ease;
}

.swb-auth-shell[data-view="login_email"] .swb-auth-header,
.swb-auth-shell[data-view="login_pin"] .swb-auth-header,
.swb-auth-shell[data-view="reset_pin"] .swb-auth-header,
.swb-auth-shell[data-view="join_email"] .swb-auth-header,
.swb-auth-shell[data-view="join_pin"] .swb-auth-header,
.swb-auth-shell[data-view="join_profile"] .swb-auth-header {
    transform: translateY(-10px) scale(0.9);
}

.swb-auth-header-logo {
    width: 58px;
    height: auto;
    margin: 0 auto 0.9rem;
}

.swb-auth-logo {
    margin: 0;
    font-size: 3.1rem;
    line-height: 0.84;
    font-weight: 800;
    font-style: italic;
    color: var(--swb-espresso);
    letter-spacing: -0.04em;
    text-align: center;
}

.swb-auth-logo span {
    color: var(--swb-highlight);
}

.swb-auth-tagline {
    margin-top: 0.28rem;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.42;
    color: var(--swb-espresso);
    white-space: nowrap;
}

.swb-auth-main {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
    padding-top: 0.35rem;
    padding-bottom: 0.25rem;
}

.swb-auth-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    position: relative;
    z-index: 2;
}

.swb-auth-panel-landing {
    gap: 1.65rem;
    padding-top: 0.4rem;
}

@media (min-width: 768px) {
    .swb-auth-shell {
        padding-top: 1.75rem;
        padding-bottom: 0.7rem;
    }

    .swb-auth-header {
        margin-bottom: 1.2rem;
    }

    .swb-auth-main {
        justify-content: center;
        padding-top: 0;
    }
}
/* //====// END AUTH SHELL LAYOUT //====// */