/*
Theme Name: Ecosystem Panel Theme
Theme URI: https://yourcompany.com
Author: Your Company
Author URI: https://yourcompany.com
Description: Minimal dark-mode ecosystem control panel theme with a stylish login landing page.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: ecosystem-panel-theme
*/

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #1f2937 0, #020617 45%, #000000 100%);
    color: #e5e7eb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

* {
    box-sizing: border-box;
}

.panel-shell {
    width: 100%;
    max-width: 1080px;
    padding: 16px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15,23,42,0.85);
    border: 1px solid rgba(148,163,184,0.25);
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 16px;
}

.brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34,197,94,0.9);
}

.panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 768px) {
    .panel-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hero-card {
    background: linear-gradient(135deg, rgba(37,99,235,0.25), rgba(8,47,73,0.9));
    border-radius: 20px;
    border: 1px solid rgba(96,165,250,0.5);
    padding: 24px 26px 22px 26px;
    box-shadow: 0 24px 60px rgba(15,23,42,0.9);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 10% 0, rgba(59,130,246,0.4), transparent 55%),
                radial-gradient(circle at 90% 100%, rgba(147,197,253,0.4), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    margin: 0 0 6px 0;
}

.hero-subtitle {
    font-size: 0.92rem;
    color: #e5e7eb;
    opacity: 0.9;
    max-width: 32rem;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    margin-bottom: 14px;
}

.metric-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15,23,42,0.75);
    border: 1px solid rgba(148,163,184,0.35);
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.metric-label {
    color: #9ca3af;
}

.metric-value {
    color: #e5e7eb;
    font-weight: 500;
}

.metric-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #38bdf8;
}

.hero-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.hero-tagline {
    font-size: 0.8rem;
    color: #cbd5f5;
    opacity: 0.9;
}

.hero-badge {
    font-size: 0.78rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,0.85);
    border: 1px solid rgba(96,165,250,0.7);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #bfdbfe;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
}

/* Login card */
.login-card {
    background: rgba(15,23,42,0.96);
    border-radius: 20px;
    border: 1px solid rgba(55,65,81,0.9);
    padding: 24px 22px 20px 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.9);
    position: relative;
    overflow: hidden;
}

.login-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.login-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.login-subtitle {
    font-size: 0.78rem;
    color: #9ca3af;
}

.btn-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 13px;
    border-radius: 999px;
    border: 1px solid rgba(75,85,99,0.95);
    text-decoration: none;
    background: #020617;
    color: #e5e7eb;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.12s ease-out;
}

.login-btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #2563eb;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(15,23,42,0.9);
    border-color: #6b7280;
}

.login-btn-primary:hover {
    border-color: #93c5fd;
}

.login-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,23,42,0.95);
    border: 1px solid rgba(148,163,184,0.5);
    font-size: 0.9rem;
}

.login-text-main {
    font-size: 0.9rem;
}

.login-text-sub {
    font-size: 0.75rem;
    color: #9ca3af;
}

.login-arrow {
    font-size: 1rem;
    opacity: 0.9;
}

/* Status bullets */
.login-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 10px;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(17,24,39,0.9);
    border: 1px solid rgba(55,65,81,0.9);
    color: #9ca3af;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
}

.status-dot.warn {
    background: #f97316;
}

.status-dot.info {
    background: #38bdf8;
}

.login-footer-note {
    font-size: 0.7rem;
    color: #6b7280;
    margin-top: 6px;
}

/* Footer */
.footer-minibar {
    margin-top: 10px;
    font-size: 0.7rem;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    opacity: 0.9;
}

.footer-minibar span {
    opacity: 0.9;
}
