/* 
 * VAG AUTH PRO - Premium Frontend Styles
 */

/* PREMIUM LUXURY LOGIN (Apple/Stripe/HubSpot) */
.premium-glass-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fdfdfd;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
}

/* Ambient Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
}
.orb-1 {
    width: 400px;
    height: 400px;
    background: #e8f5e9;
    top: -100px;
    left: -100px;
}
.orb-2 {
    width: 500px;
    height: 500px;
    background: #fff8e1;
    bottom: -150px;
    right: -100px;
}

.ultra-premium-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0,0,0,0.02);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    transition: transform 0.3s ease;
}

.vag-logo-premium {
    max-width: 130px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.glass-text-gradient {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 15px 0;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.text-center { text-align: center; }
.vag-auth-title { font-size: 20px; color: #333; margin-bottom: 10px; }
.vag-auth-desc { color: #666; margin-bottom: 25px; font-size: 14px; }

/* Input Fields & Floating Labels */
.vag-input-container { margin-bottom: 20px; }
.floating-label-group {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon {
    position: absolute;
    left: 15px;
    font-size: 18px;
    pointer-events: none;
    z-index: 2;
}
.vag-premium-input {
    width: 100%;
    padding: 18px 15px 18px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.vag-premium-input:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}
.floating-label {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    transition: all 0.2s ease;
    pointer-events: none;
    font-size: 15px;
    z-index: 1;
}
.vag-premium-input:focus ~ .floating-label,
.vag-premium-input:not(:placeholder-shown) ~ .floating-label {
    top: -2px;
    left: 12px;
    font-size: 12px;
    background: #fff;
    padding: 0 5px;
    color: #2e7d32;
    font-weight: 600;
    border-radius: 4px;
}

/* Checkboxes */
.premium-checkboxes {
    margin: 20px 0;
    text-align: left;
}
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
}
.custom-checkbox input {
    margin-right: 10px;
    margin-top: 2px;
    accent-color: #2e7d32;
    width: 16px;
    height: 16px;
}
.custom-checkbox a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
}
.custom-checkbox a:hover {
    text-decoration: underline;
}

/* Buttons */
.luxury-gradient-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.luxury-gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.25);
}
.luxury-gradient-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Google Button overlay trick */
.vag-auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #999;
    font-size: 12px;
    margin: 20px 0;
}
.vag-auth-divider::before, .vag-auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}
.vag-auth-divider span {
    padding: 0 10px;
}

.google-login-custom-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
}
.luxury-google-btn {
    width: 100%;
    padding: 14px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.luxury-google-btn:hover {
    background: #fafafa;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.google-icon {
    width: 24px;
    height: 24px;
}
.standard-google-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
}
.standard-google-hidden div {
    width: 100% !important;
    height: 100% !important;
}

/* OTP Boxes */
.modern-otp-container {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    gap: 8px;
}
.otp-box {
    width: 100%;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    color: #333;
    transition: all 0.2s;
}
.otp-box:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
    transform: translateY(-2px);
}

.vag-auth-resend-wrapper {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}
.gold-timer {
    color: #d4af37;
    font-weight: 700;
}
.vag-btn-outline-gold {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 10px;
}
.vag-btn-outline-gold:hover {
    background: #d4af37;
    color: #fff;
}

.vag-auth-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.vag-auth-footer a {
    color: #777;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.vag-auth-footer a:hover {
    color: #2e7d32;
}

/* Spinner */
.btn-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .ultra-premium-card {
        padding: 30px 20px;
        border-radius: 16px;
    }
    .vag-logo-premium {
        max-width: 90px;
    }
    .glass-text-gradient {
        font-size: 18px;
    }
    .otp-box {
        height: 48px;
        font-size: 20px;
    }
}

/* LUXURY CORPORATE DASHBOARD (Apple / Stripe / HubSpot inspired) */
.luxury-corporate {
    max-width: 1200px;
    margin: 40px auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
}

.vag-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.dash-logo {
    max-height: 50px;
}
.header-titles h2 {
    margin: 0;
    font-size: 22px;
    color: #1a1a1a;
}
.dash-cin {
    font-size: 12px;
    color: #888;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.vag-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.vag-badge-active {
    background: #e8f5e9;
    color: #2e7d32;
}
.vag-btn-logout {
    color: #d32f2f;
    text-decoration: none;
    font-weight: 600;
}

.vag-dash-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
@media (max-width: 900px) {
    .vag-dash-grid {
        grid-template-columns: 1fr;
    }
}

.vag-dash-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}

.profile-card {
    text-align: center;
}
.profile-img-wrap {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #d4af37 0%, #f3e5f5 100%);
}
.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}
.profile-info h3 {
    margin: 0 0 5px;
    font-size: 20px;
}
.verified-icon {
    color: #1976d2;
    font-size: 16px;
}
.profile-meta {
    color: #777;
    font-size: 13px;
    margin: 5px 0;
}
.profile-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.stat-box {
    background: #fafafa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s ease;
}
.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.stat-box h4 {
    margin: 0 0 10px;
    color: #666;
    font-size: 14px;
}
.stat-val {
    font-size: 28px;
    font-weight: 700;
    color: #222;
}
.gold-text {
    color: #d4af37;
}

.activity-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.activity-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.activity-list li:last-child {
    border-bottom: none;
}
.act-icon {
    font-size: 18px;
    margin-right: 12px;
}
.act-time {
    color: #888;
    margin-left: auto;
    font-size: 12px;
}

.vag-dash-section {
    margin-bottom: 40px;
}
.vag-dash-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #1a1a1a;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.3s, transform 0.3s;
}
.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.product-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.product-info {
    padding: 20px;
}
.product-info h4 {
    margin: 0 0 10px;
    font-size: 16px;
}
.product-info .price {
    font-size: 18px;
    font-weight: bold;
    color: #2e7d32;
    margin: 0 0 15px;
}
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    background: #f5f5f5;
}
.status-wc-completed { background: #e8f5e9; color: #2e7d32; }
.status-wc-processing { background: #e3f2fd; color: #1976d2; }

.orders-table-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    overflow-x: auto;
}
.vag-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.vag-table th, .vag-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.vag-table th {
    background: #fafafa;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}
.vag-table tr:last-child td {
    border-bottom: none;
}
.vag-table td {
    font-size: 14px;
    color: #333;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: opacity 0.3s;
}
.support-btn:hover {
    opacity: 0.9;
}
.btn-wa-personal, .btn-wa-support {
    background: #25D366;
}
.btn-web {
    background: #1a1a1a;
}

.dash-footer {
    text-align: center;
    padding: 30px 0;
    color: #888;
    font-size: 13px;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

.vag-auth-msg {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    display: none;
}
.vag-auth-msg.error {
    background: #fde8e8;
    color: #c53030;
    border: 1px solid #f8b4b4;
    display: block;
}
.vag-auth-msg.success {
    background: #def7ec;
    color: #03543f;
    border: 1px solid #84e1bc;
    display: block;
}
