/* ===================================
   MEMBER AREA STYLES
   Waterford Chamber of Commerce
   =================================== */

/* ===================================
   MEMBER NAVIGATION
   =================================== */

.member-nav {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    /* z-index: 1000; */
}

.member-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

/* Member Info */
.member-nav-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 250px;
}

.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.member-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.member-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.member-level {
    font-size: 0.75rem;
    color: var(--text-gray);
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}

/* Navigation Menu */
.member-nav-menu {
    flex: 1;
}

.nav-list {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link-member {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
}

.nav-link-member:hover,
.nav-link-member.active {
    color: var(--primary-color);
    background: rgba(62, 162, 190, 0.1);
}

.nav-link-member i {
    font-size: 0.875rem;
}

.submenu-arrow {
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
    font-size: 0.75rem !important;
}

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    list-style: none;
    margin: 0.5rem 0 0 0;
}

.nav-item.has-submenu:hover .submenu,
.submenu.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item.has-submenu:hover .submenu-arrow {
    transform: rotate(180deg);
}

.submenu-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.submenu-link:hover,
.submenu-link.active {
    color: var(--primary-color);
    background: var(--bg-light);
}

/* Member Actions */
.member-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-action-dropdown {
    position: relative;
}

.nav-action-toggle {
    background: none;
    border: none;
    color: var(--text-gray);
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-action-toggle:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.nav-action-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    margin-top: 0.5rem;
}

.nav-action-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.action-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.action-link:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.action-link.logout {
    color: #dc3545;
}

.action-link.logout:hover {
    background: rgba(220, 53, 69, 0.1);
}

.action-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-gray);
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 3px;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: all 0.2s ease;
}

/* Mobile Navigation */
.member-nav-mobile {
    display: none;
    background: white;
    border-top: 1px solid #e2e8f0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.member-nav-mobile.active {
    max-height: 100vh;
}

.mobile-nav-header {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: var(--bg-light);
}

.mobile-member-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-nav-content {
    padding: 1rem 0;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-link-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-nav-link-member:hover,
.mobile-nav-link-member.active {
    color: var(--primary-color);
    background: var(--bg-light);
}

.mobile-submenu {
    background: var(--bg-light);
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.mobile-submenu-link {
    display: block;
    padding: 0.5rem 1rem 0.5rem 3rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.mobile-submenu-link:hover,
.mobile-submenu-link.active {
    color: var(--primary-color);
}

.mobile-nav-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.mobile-footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.mobile-footer-link.logout {
    color: #dc3545;
}

/* ===================================
   MEMBER CONTENT AREA
   =================================== */

.member-content {
    background: #f8fafc;
    min-height: calc(100vh - 140px);
    padding: 2rem 0;
}

.member-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===================================
   WELCOME HEADER
   =================================== */

.welcome-header {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.welcome-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
}

.welcome-actions {
    display: flex;
    gap: 1rem;
}

/* ===================================
   ALERTS SECTION
   =================================== */

.alerts-section {
    margin-bottom: 2rem;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert:last-child {
    margin-bottom: 0;
}

.alert i {
    flex-shrink: 0;
    margin-top: 0.125rem;
    font-size: 1.25rem;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.alert-content p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.alert-action {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.alert-action:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Alert Types */
.alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fed7aa;
    color: #d97706;
}

.alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
}

.alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #16a34a;
}

/* ===================================
   QUICK STATS GRID
   =================================== */

.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin: 0;
}

/* ===================================
   DASHBOARD CARDS
   =================================== */

.dashboard-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 0 1.5rem;
    margin-bottom: 1rem;
}

.card-header h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.card-header h2 i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.card-action {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.card-action:hover {
    color: var(--secondary-color);
}

.card-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/* ===================================
   MEMBERSHIP STATUS
   =================================== */

.membership-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.status-badge.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-grace {
    background: #fed7aa;
    color: #c2410c;
}

.status-badge.status-expired {
    background: #fecaca;
    color: #991b1b;
}

.membership-info p {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
}

.membership-info strong {
    color: var(--text-dark);
}

.auto-renew {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.auto-renew i {
    margin-right: 0.25rem;
}

.membership-actions {
    margin-top: 1rem;
}

/* ===================================
   DIRECTORY PREVIEW
   =================================== */

.directory-preview {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.listing-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.listing-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.listing-status {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.listing-status .status-active {
    color: var(--secondary-color);
}

.listing-status .status-pending {
    color: #d97706;
}

.listing-status .status-suspended {
    color: #dc2626;
}

.listing-stats {
    text-align: right;
    color: var(--text-gray);
    font-size: 0.8rem;
}

.directory-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.no-listing {
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
}

.no-listing p {
    margin-bottom: 1rem;
}

/* ===================================
   ACTIVITY LIST
   =================================== */

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.activity-item:hover {
    background: #e2e8f0;
}

.activity-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.activity-content p {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.activity-content small {
    color: var(--text-gray);
    font-size: 0.75rem;
}

.no-activity {
    text-align: center;
    color: var(--text-gray);
    font-style: italic;
    padding: 2rem;
}

/* ===================================
   EVENTS LIST
   =================================== */

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.event-item:hover {
    background: #e2e8f0;
}

.event-date {
    text-align: center;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 50px;
    flex-shrink: 0;
}

.event-date .month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

.event-info {
    flex: 1;
}

.event-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.event-time,
.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.event-time i,
.event-location i {
    width: 12px;
    color: var(--primary-color);
}

.event-action {
    display: flex;
    align-items: center;
}

.rsvp-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rsvp-status.rsvped {
    background: #d1fae5;
    color: #065f46;
}

.no-events {
    text-align: center;
    color: var(--text-gray);
    font-style: italic;
    padding: 2rem;
}

.view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 1rem;
    transition: all 0.2s ease;
}

.view-all-link:hover {
    color: var(--secondary-color);
}

.widget-footer {
    border-top: 1px solid #e2e8f0;
    margin: 1rem -1.5rem -1.5rem -1.5rem;
}

/* ===================================
   QUICK ACTIONS
   =================================== */

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ===================================
   CONTACT INFO
   =================================== */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.contact-item:hover {
    background: #e2e8f0;
}

.contact-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* ===================================
   AUTH PAGES
   =================================== */

.auth-page {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    min-height: 100vh;
}

.auth-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 0;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    max-width: 1000px;
    width: 100%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.auth-form-container {
    padding: 3rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: white;
    font-size: 1.5rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-gray);
    margin: 0;
}

.auth-form {
    margin-bottom: 2rem;
}

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

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(62, 162, 190, 0.1);
}

.form-control.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.field-error {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.25rem;
    transition: all 0.2s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.checkbox-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    cursor: pointer;
}

.forgot-password-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.forgot-password-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.auth-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.auth-divider {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

.auth-actions {
    margin-bottom: 1.5rem;
}

.auth-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.auth-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.auth-link:hover {
    color: var(--primary-color);
}

/* Auth Side Panel */
.auth-side-panel {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
}

.side-panel-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.side-panel-content > p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.benefits-list {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.benefits-list i {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 4px;
}

.side-panel-cta h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.side-panel-cta p {
    margin-bottom: 1rem;
    opacity: 0.8;
    font-size: 0.875rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    opacity: 0.9;
    transition: all 0.2s ease;
}

.contact-option:hover {
    opacity: 1;
}

.contact-option i {
    width: 16px;
    text-align: center;
}

/* ===================================
   BUTTONS
   =================================== */

.btn-widget {
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-widget:last-child {
    margin-bottom: 0;
}

.btn-primary.btn-widget {
    background: var(--primary-color);
    color: white;
}

.btn-primary.btn-widget:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.btn-secondary.btn-widget {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--text-gray);
}

.btn-secondary.btn-widget:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--bg-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .auth-layout {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .auth-side-panel {
        display: none;
    }
    
    .member-nav-menu {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .member-nav-mobile {
        display: block;
    }
    
    .welcome-header {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .member-nav-container {
        padding: 0.75rem 0;
    }
    
    .member-nav-info {
        min-width: auto;
    }
    
    .member-content {
        padding: 1rem 0;
    }
    
    .welcome-header {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .welcome-content h1 {
        font-size: 1.5rem;
    }
    
    .quick-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-content h3 {
        font-size: 1.25rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .directory-actions {
        flex-direction: column;
    }
    
    .membership-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .auth-form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .auth-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .member-nav-container {
        gap: 1rem;
    }
    
    .member-details {
        display: none;
    }
    
    .auth-form-container {
        padding: 1.5rem 1rem;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
    }
    
    .welcome-content h1 {
        font-size: 1.25rem;
    }
    
    .welcome-subtitle {
        font-size: 0.875rem;
    }
}

/* ===================================
   UTILITIES
   =================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mobile-nav-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .mobile-nav-open .member-nav-mobile {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
}

.page-header {
    margin-bottom: 25px !important;
}

/* .page-header a {
    color: var(--primary-color);
}

.page-header a:hover {
    color: var(--secondary-color);
} */
