/* Loaded after owner.css; selectors are scoped to their view components. */
/* Dashboard view components */
.gateway-login-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 0% 0%, #111 0%, #000 100%);
    color: white;
    overflow: hidden;
    position: relative;
}

.gateway-glow-start {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.gateway-glow-end {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.gateway-login-card {
    width: 440px;
    padding: 48px;
    border-radius: 32px;
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.gateway-brand {
    width: 280px;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.gateway-brand-image {
    width: 210px;
    height: 131px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.gateway-brand-name {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.gateway-login-error {
    color: #fb7185;
    margin-bottom: 24px;
    text-align: center;
    font-size: 0.875rem;
    background-color: rgba(251, 113, 133, 0.1);
    padding: 12px;
    border-radius: 12px;
    width: 100%;
}

.gateway-login-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gateway-login-alignment {
    text-align: center;
}

.gateway-login-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-primary.gateway-login-action {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 800;
}

.garage-selector-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #020617;
    padding: 24px;
    position: relative;
    color: white;
}

.garage-selector-logout {
    position: absolute;
    top: 24px;
    right: 24px;
}

.logout-btn.garage-selector-logout-button {
    background:none;
    border:none;
    color:var(--text-muted);
    display:flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
}

.garage-selector-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    text-align: center;
}

.garage-selector-description {
    color: #94a3b8;
    margin-bottom: 32px;
    text-align: center;
}

.garage-selector-error {
    background-color: rgba(127, 29, 29, 0.2);
    border: 1px solid rgba(127, 29, 29, 0.5);
    color: #f87171;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 32px;
    text-align: center;
}

.garage-selector-empty {
    text-align: center;
    padding: 48px;
    background-color: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border: 1px dashed #1e293b;
}

.garage-selector-empty-message {
    color: #64748b;
}

.garage-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.garage-selector-card {
    background-color: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s;
    cursor: pointer;
}

.garage-selector-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.garage-selector-card-address {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 8px;
}

.garage-selector-card-contact {
    margin-top: 16px;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #64748b;
}

.garage-selector-contact-divider {
    margin: 0 8px;
}


/* Standalone dev-login-page */
.dev-login-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #0f172a;
    color: #f8fafc;
}

.dev-login-page .card {
    background: #1e293b;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    width: 340px;
    border: 1px solid #334155;
}

.dev-login-page h2 {
    margin-top: 0;
    color: #38bdf8;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

.dev-login-page label {
    font-size: 0.875rem;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.5rem;
}

.dev-login-page input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid #475569;
    border-radius: 6px;
    box-sizing: border-box;
    background: #0f172a;
    color: #f8fafc;
    font-size: 1rem;
}

.dev-login-page input:focus {
    outline: none;
    border-color: #38bdf8;
}

.dev-login-page button {
    width: 100%;
    padding: 0.75rem;
    background: #0284c7;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.2s;
}

.dev-login-page button:hover {
    background: #0369a1;
}
