/* ==========================================================================
   VEERU AUTH MODAL & PROFESSIONAL DASHBOARD STYLES
   ========================================================================== */

/* -------------------------------------------------------------
   1. POPUP MODAL & STANDALONE AUTH
   ------------------------------------------------------------- */
.veeru-auth-modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s ease;
    padding: 20px;
    box-sizing: border-box;
}
.veeru-auth-modal-wrap.is-open {
    opacity: 1;
    visibility: visible;
}
.veeru-auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 17, 26, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.veeru-auth-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 92vh;
    overflow-y: auto;
    background: #FFFFFF;
    border-radius: 28px;
    padding: 34px 32px 30px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    z-index: 2;
    transform: scale(0.94) translateY(8px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.veeru-auth-modal-wrap.is-open .veeru-auth-card {
    transform: scale(1) translateY(0);
}
.veeru-standalone-auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 80px 20px;
    min-height: 60vh;
}
.veeru-standalone-card {
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: none !important;
}
.veeru-auth-close {
    position: absolute;
    top: 22px;
    right: 22px;
    background: transparent;
    border: none;
    color: #4B5563;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.veeru-auth-close:hover {
    color: #111827;
    transform: scale(1.1);
}
.veeru-auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-right: 32px;
}
.veeru-auth-title {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}
.veeru-btn-pill {
    background: #FFFFFF;
    border: 1.5px solid #2B2638;
    color: #2B2638;
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.veeru-btn-pill:hover {
    background: #2B2638;
    color: #FFFFFF;
}
.veeru-auth-pane { display: none; }
.veeru-auth-pane.is-active { display: block; animation: veeruPaneFade 0.22s ease-out; }
@keyframes veeruPaneFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.veeru-form-group { margin-bottom: 16px; text-align: left; }
.veeru-form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 7px;
}
.veeru-form-group label .required { color: #EF4444; }
.veeru-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: #FFFFFF;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    font-size: 14px;
    color: #1F2937;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.veeru-input:focus {
    outline: none;
    border-color: #2B2638;
    box-shadow: 0 0 0 3px rgba(43, 38, 56, 0.08);
}
.veeru-pwd-wrapper { position: relative; display: flex; align-items: center; }
.veeru-pwd-wrapper .veeru-input { padding-right: 44px; }
.veeru-pwd-toggle {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}
.veeru-form-options { margin: 12px 0 20px 0; }
.veeru-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #4B5563;
    cursor: pointer;
}
.veeru-checkbox-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    accent-color: #2B2638;
}
.veeru-btn-primary {
    width: 100%;
    height: 48px;
    background: #2B2638;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}
.veeru-btn-primary:hover { background: #1B1824; }
.veeru-auth-divider { position: relative; text-align: center; margin: 22px 0; }
.veeru-auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #F0F2F5;
}
.veeru-auth-divider span {
    position: relative;
    background: #FFFFFF;
    padding: 0 12px;
    font-size: 13px;
    color: #9CA3AF;
}
.veeru-auth-footer-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.veeru-footer-heading { font-size: 14px; font-weight: 700; color: #111827; }
.veeru-btn-outline {
    width: 100%;
    height: 46px;
    background: #FFFFFF;
    border: 1.5px solid #2B2638;
    color: #2B2638;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}
.veeru-link-underline {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    text-decoration: underline;
    margin-top: 4px;
}
.veeru-auth-alert {
    display: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 14px;
    text-align: left;
}
.veeru-auth-alert.error { display: block; background: #FEF2F2; border: 1px solid #FECACA; color: #DC2626; }
.veeru-auth-alert.success { display: block; background: #F0FDF4; border: 1px solid #BBF7D0; color: #16A34A; }

/* -------------------------------------------------------------
   2. LOGGED IN WOOCOMMERCE MY-ACCOUNT DASHBOARD
   ------------------------------------------------------------- */
.woocommerce-account .woocommerce {
    max-width: 1240px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Sidebar Navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 260px;
    background: #FFFFFF;
    border: 1px solid #ECEEF2;
    border-radius: 20px;
    padding: 18px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 6px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: #4B5563;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #F4EEFB;
    color: #6C2EB9;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #6C2EB9;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(108, 46, 185, 0.25);
}

/* Content Area */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
}

/* Dashboard Banner */
.veeru-db-profile-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #2F1142 0%, #4D1A6D 100%);
    padding: 28px 32px;
    border-radius: 20px;
    color: #FFFFFF;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(47, 17, 66, 0.15);
}
.veeru-db-avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #6C2EB9;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin-right: 20px;
    flex-shrink: 0;
}
.veeru-db-user-meta { flex: 1; }
.veeru-db-user-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #FFFFFF;
}
.veeru-db-user-sub {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}
.veeru-db-badge {
    background: rgba(255, 255, 255, 0.18);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
}
.veeru-db-logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}
.veeru-db-logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

/* 4 Quick Stat Cards */
.veeru-db-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}
.veeru-db-stat-card {
    background: #FFFFFF;
    border: 1px solid #ECEEF2;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
}
.veeru-db-stat-card:hover { transform: translateY(-3px); }
.veeru-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.veeru-stat-icon.purple { background: #F4EEFB; }
.veeru-stat-icon.orange { background: #FFF7ED; }
.veeru-stat-icon.green  { background: #F0FDF4; }
.veeru-stat-icon.pink   { background: #FDF2F8; }
.veeru-stat-num {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
}
.veeru-stat-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #6B7280;
    margin-top: 4px;
}

/* Quick Action Tiles */
.veeru-db-tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 32px;
}
.veeru-db-tile {
    background: #FFFFFF;
    border: 1px solid #ECEEF2;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}
.veeru-db-tile:hover {
    border-color: #6C2EB9;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(108, 46, 185, 0.08);
}
.veeru-tile-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.veeru-tile-icon { font-size: 26px; }
.veeru-tile-left h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}
.veeru-tile-left p {
    margin: 0;
    font-size: 12.5px;
    color: #6B7280;
    line-height: 1.4;
}
.veeru-tile-arrow {
    font-size: 22px;
    color: #9CA3AF;
    font-weight: 300;
}
.veeru-tile-cta {
    background: linear-gradient(135deg, #F9F5FF 0%, #FFFFFF 100%);
    border-color: #E9D8FD;
}

/* Recent Orders Section */
.veeru-db-recent-section {
    background: #FFFFFF;
    border: 1px solid #ECEEF2;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.veeru-db-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.veeru-db-section-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}
.veeru-db-view-all {
    font-size: 13.5px;
    font-weight: 600;
    color: #6C2EB9;
    text-decoration: none;
}
.veeru-db-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.veeru-db-table th {
    background: #F9FAFB;
    padding: 12px 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: #4B5563;
    border-bottom: 1px solid #E5E7EB;
}
.veeru-db-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: #1F2937;
    border-bottom: 1px solid #F3F4F6;
}
.veeru-order-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
}
.status-completed { background: #ECFDF5; color: #059669; }
.status-processing { background: #EFF6FF; color: #2563EB; }
.status-on-hold, .status-pending { background: #FFFBEB; color: #D97706; }
.status-cancelled, .status-failed { background: #FEF2F2; color: #DC2626; }
.veeru-db-action-btn {
    background: #6C2EB9;
    color: #FFFFFF !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
    .woocommerce-account .woocommerce { flex-direction: column; }
    .woocommerce-account .woocommerce-MyAccount-navigation { flex: 1; width: 100%; }
    .veeru-db-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .veeru-db-tiles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .veeru-db-stats-grid { grid-template-columns: 1fr; }
    .veeru-db-profile-banner { flex-direction: column; text-align: center; gap: 16px; }
    .veeru-db-avatar-circle { margin-right: 0; }
}/* ==========================================================================
   VEERU AUTH MODAL & STANDALONE PAGE STYLES
   ========================================================================== */

.veeru-auth-modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s ease;
    padding: 20px;
    box-sizing: border-box;
}

.veeru-auth-modal-wrap.is-open {
    opacity: 1;
    visibility: visible;
}

.veeru-auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 17, 26, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.veeru-auth-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 92vh;
    overflow-y: auto;
    background: #FFFFFF;
    border-radius: 28px;
    padding: 34px 32px 30px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    z-index: 2;
    transform: scale(0.94) translateY(8px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.veeru-auth-modal-wrap.is-open .veeru-auth-card {
    transform: scale(1) translateY(0);
}

/* Standalone /my-account page card wrapper */
.veeru-standalone-auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 80px 20px;
    min-height: 60vh;
}
.veeru-standalone-card {
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: none !important;
}

/* Scrollbar inside modal */
.veeru-auth-card::-webkit-scrollbar {
    width: 5px;
}
.veeru-auth-card::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 4px;
}

/* Close button */
.veeru-auth-close {
    position: absolute;
    top: 22px;
    right: 22px;
    background: transparent;
    border: none;
    color: #4B5563;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.veeru-auth-close:hover {
    color: #111827;
    transform: scale(1.1);
}

/* Header */
.veeru-auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-right: 32px;
}

.veeru-auth-title {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.veeru-btn-pill {
    background: #FFFFFF;
    border: 1.5px solid #2B2638;
    color: #2B2638;
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.veeru-btn-pill:hover {
    background: #2B2638;
    color: #FFFFFF;
}

/* Panes */
.veeru-auth-pane {
    display: none;
}
.veeru-auth-pane.is-active {
    display: block;
    animation: veeruPaneFade 0.22s ease-out;
}

@keyframes veeruPaneFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form inputs */
.veeru-form-group {
    margin-bottom: 16px;
    text-align: left;
}

.veeru-form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 7px;
}

.veeru-form-group label .required {
    color: #EF4444;
}

.veeru-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: #FFFFFF;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    font-size: 14px;
    color: #1F2937;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.veeru-input::placeholder {
    color: #9CA3AF;
    font-size: 13.5px;
}
.veeru-input:focus {
    outline: none;
    border-color: #2B2638;
    box-shadow: 0 0 0 3px rgba(43, 38, 56, 0.08);
}

.veeru-pwd-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.veeru-pwd-wrapper .veeru-input {
    padding-right: 44px;
}

.veeru-pwd-toggle {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.15s;
}
.veeru-pwd-toggle:hover {
    color: #111827;
}

/* Checkbox */
.veeru-form-options {
    margin: 12px 0 20px 0;
}

.veeru-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #4B5563;
    cursor: pointer;
    user-select: none;
}

.veeru-checkbox-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    accent-color: #2B2638;
    cursor: pointer;
    margin: 0;
}

/* Primary Button */
.veeru-btn-primary {
    width: 100%;
    height: 48px;
    background: #2B2638;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}
.veeru-btn-primary:hover {
    background: #1B1824;
}
.veeru-btn-primary:active {
    transform: scale(0.99);
}

/* Divider */
.veeru-auth-divider {
    position: relative;
    text-align: center;
    margin: 22px 0;
}
.veeru-auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #F0F2F5;
}
.veeru-auth-divider span {
    position: relative;
    background: #FFFFFF;
    padding: 0 12px;
    font-size: 13px;
    color: #9CA3AF;
}

/* Footer Actions */
.veeru-auth-footer-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.veeru-footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.veeru-btn-outline {
    width: 100%;
    height: 46px;
    background: #FFFFFF;
    border: 1.5px solid #2B2638;
    color: #2B2638;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}
.veeru-btn-outline:hover {
    background: #F9FAFB;
}

.veeru-link-underline {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    text-decoration: underline;
    transition: color 0.2s ease;
    margin-top: 4px;
}
.veeru-link-underline:hover {
    color: #6C2EB9;
}

.veeru-auth-hint {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: left;
}

/* Alert Notices */
.veeru-auth-alert {
    display: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.4;
    text-align: left;
}
.veeru-auth-alert.error {
    display: block;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
}
.veeru-auth-alert.success {
    display: block;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #16A34A;
}

.veeru-submit-btn.is-loading {
    opacity: 0.75;
    pointer-events: none;
}