/**
 * GutsyPOS Cloud — Global CSS
 *
 * Styles shared across all global (non-tenant) views:
 * welcome, tenant-registration, tenant-registration-success,
 * tenant-email-verified, tenant-email-resend, errors/*.
 *
 * Tenant views use the Fabkin Laravel template and are NOT affected.
 */

/* =========================================================
   Brand Tokens
========================================================= */
:root {
    --green:       #4caf51;
    --green-dark:  #388e3c;
    --green-light: #e8f5e9;
    --blue:        #2096f3;
    --blue-dark:   #1565c0;
    --blue-light:  #e3f2fd;
}

/* =========================================================
   Base
========================================================= */
html { scroll-behavior: smooth; }

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; }

/* =========================================================
   Brand Gradient Utilities
========================================================= */
.bg-brand-gradient {
    background: linear-gradient(135deg, #4caf51 0%, #2096f3 100%);
}

.bg-brand-gradient-soft {
    background: linear-gradient(135deg, #e8f5e9 0%, #e3f2fd 100%);
}

/* =========================================================
   Brand Color Utilities
========================================================= */
.text-green-brand   { color: #4caf51; }
.text-blue-brand    { color: #2096f3; }
.bg-green-brand     { background-color: #4caf51; }
.bg-blue-brand      { background-color: #2096f3; }
.border-green-brand { border-color: #4caf51; }
.border-blue-brand  { border-color: #2096f3; }

/* =========================================================
   Focus Rings
========================================================= */
.focus-brand:focus {
    outline: none;
    border-color: #2096f3;
    box-shadow: 0 0 0 3px rgba(32, 150, 243, 0.15);
}

.ring-blue-brand:focus {
    outline: none;
    border-color: #2096f3;
    box-shadow: 0 0 0 3px rgba(32, 150, 243, 0.2);
}

/* =========================================================
   Buttons
========================================================= */
.btn-brand {
    background: linear-gradient(135deg, #4caf51, #2096f3);
    transition: opacity 0.2s;
}
.btn-brand:hover { opacity: 0.9; }

.btn-primary-brand {
    background: #2096f3;
    color: white;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    transition: background 0.2s;
    text-decoration: none;
}
.btn-primary-brand:hover { background: #1565c0; color: white; }

.btn-outline-brand {
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    transition: border-color 0.2s, color 0.2s;
    text-decoration: none;
}
.btn-outline-brand:hover { border-color: #2096f3; color: #2096f3; }

/* =========================================================
   Navbar
========================================================= */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s ease;
}

/* =========================================================
   Badge Pill
========================================================= */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* =========================================================
   Step / Circle Components
========================================================= */

/* Used in tenant-registration-success and tenant-email-verified */
.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    background: linear-gradient(135deg, #4caf51, #2096f3);
    flex-shrink: 0;
}

/* Used in tenant-registration form left panel */
.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

/* Used in welcome.blade.php how-it-works section */
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #4caf51, #2096f3);
    color: white;
    flex-shrink: 0;
}

/* =========================================================
   Icon Circle (error pages)
========================================================= */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* =========================================================
   Error Code (error pages)
========================================================= */
.error-code {
    font-size: clamp(6rem, 20vw, 14rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #4caf51 0%, #2096f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
}

/* =========================================================
   Decorative Blobs (error pages)
========================================================= */
.blob-green {
    position: absolute;
    border-radius: 50%;
    background: #4caf51;
    opacity: 0.08;
}

.blob-blue {
    position: absolute;
    border-radius: 50%;
    background: #2096f3;
    opacity: 0.08;
}

/* =========================================================
   Form Inputs
========================================================= */
input[type="checkbox"]:checked { accent-color: #2096f3; }
