/* ==========================================================================
   WINDZEN INNOVA UNIFIED MASTER STYLESHEET
   Handles: windzen.com, windzen.com/user/, and admin.windzen.com base
   ========================================================================== */

/* Design System Tokens */
:root {
    --primary-green: #00965e;
    --accent-gold: #b5c234;
    --bg-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --card-bg: #ffffff;
    --border-color: #eeeeee;
}

/* Core Element Reset & Resizing Rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #fafafa;
    color: var(--text-dark);
    line-height: 1.5;
}

/* Layout Core Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #ffffff;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.logo {
    width: 210px;
    height: auto;
}

.tagline {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 5px;
}

main {
    padding: 40px 0;
}

/* ==========================================================================
   CARD SYSTEM & UTILITIES (Crucial for Identity Page Visibility)
   ========================================================================== */

.centered-wrapper {
    max-width: 450px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Base Form & Dashboard Block Window rules */
.card,
.card-eco {
    display: block !important;
    /* Forces layout tracking visibility */
    background-color: var(--card-bg);
    padding: 30px 25px;
    border-radius: 6px;
    border-top: 4px solid var(--primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.card h3,
.card-eco h3 {
    font-size: 1.4rem;
    color: #111111;
    margin-bottom: 8px;
}

/* Visibility Framework Controllers */
.hidden {
    display: none !important;
}

/* Three Column Card Responsive Grid (For main landing directory layout) */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   INPUT COMPONENTS & CORE INTERFACE FORMS
   ========================================================================== */

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #555555;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* Reusable Interactive Buttons */
.btn {
    display: inline-block;
    width: 100%;
    background-color: var(--primary-green);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn:hover {
    background-color: #007a4d;
}

.btn-secondary {
    background-color: #555555;
}

.btn-secondary:hover {
    background-color: #333333;
}

/* Status Notifications Layout boxes */
.alert {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.subtext-toggle {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.subtext-toggle span {
    color: var(--primary-green);
    cursor: pointer;
    font-weight: 600;
}

.code-badge {
    display: block;
    background: #f4f5f6;
    padding: 10px;
    font-family: monospace;
    font-size: 0.8rem;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    word-break: break-all;
    margin-top: 5px;
    color: #c53030;
}

/* Global Platform Footer */
footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    background: #ffffff;
    margin-top: 60px;
}