/**
 * GÅ‚Ã³wne style aplikacji SPP v2
 * Odwzorowanie starego projektu - czarne tÅ‚o, kolory z oryginaÅ‚u
 */

/* ============================================
   RESET CSS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   ZMIENNE CSS - Kolory ze starego projektu
   ============================================ */
:root {
    /* Kolory ze starego projektu */
    --bg: #070707;              /* Czarne tÅ‚o */
    --white: #fefefe;           /* BiaÅ‚y tekst */
    --grey: #3A3A3A;            /* Szary */
    --lgrey: #999999;           /* Jasny szary */
    --green: #2A6612;           /* Zielony - peÅ‚ny */
    --orange: #E6AF2E;          /* PomaraÅ„czowy - Å›redni */
    --red: #FF1D1D;             /* Czerwony - niski */
    --blue: #3064A9;            /* Niebieski - przyciski */
    --dBlue: #244C7F;           /* Ciemny niebieski - hover */
    --beige: #fad38b;           /* BeÅ¼owy - palety */
    
    /* Fonty */
    --fmain: 'Poppins', 'Segoe UI', sans-serif;
    --fsecond: 'Nunito Sans', 'Segoe UI', sans-serif;
}

/* ============================================
   BODY - Czarne tÅ‚o
   ============================================ */
html, body {
    height: 100%;
    width: 100%;
    font-family: var(--fmain);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--bg);
    color: var(--white);
    margin: 0;
    padding: 0;
}

/* ============================================
   TYPOGRAFIA
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fmain);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1em;
}

/* ============================================
   HEADER - Styl ze starego projektu
   ============================================ */
.main-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 94%;
    margin: 1rem auto 6px auto;
    padding: 0;
    /* color: var(--lgrey); */
}

.main-header .app-title {
    margin: 0;
}

.main-header .app-title a {
    color: var(--white);
    text-decoration: none;
}

.main-header .app-title h2 {
    text-transform: uppercase;
    font-family: var(--fmain);
    letter-spacing: 1px;
    font-size: 26px;
    margin: 0;
    color: var(--lgrey);
}


header img.logo {
  height: 4.65rem;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    height: 100vh;
    max-height: 100vh;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* ============================================
   FOOTER - Styl ze starego projektu
   ============================================ */
.main-footer {
    position: fixed;
    bottom: 0;
    height: 30px;
    display: flex;
    gap: 10px;
    background-color: var(--grey);
    padding: 6px 12px;
    border-radius: 6px 0 0 0;
    width: auto;
    right: 0;
}

.main-footer p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--lgrey);
    font-family: var(--fsecond);
}

/* ============================================
   UTILITY CLASSES - Kolory statusÃ³w
   ============================================ */
/* Kolory tÅ‚a statusÃ³w */
.bg-color-high,
.bg-color-full {
    background-color: var(--green) !important;
}

.bg-color-mid {
    background-color: var(--orange) !important;
}

.bg-color-low {
    background-color: var(--red) !important;
}

.bg-color-off {
    background-color: var(--grey) !important;
}

/* Kolory tekstu statusÃ³w */
.color-default {
    color: var(--bg) !important;
}

.color-off {
    color: var(--lgrey) !important;
}

.color-high,
.color-full {
    color: var(--green) !important;
}

.color-mid {
    color: var(--orange) !important;
}

.color-low {
    color: var(--red) !important;
}

/* ============================================
   PRZYCISKI - Styl ze starego projektu
   ============================================ */
.btn,
button.btn,
a.btn {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--white);
    font-size: 12px;
    padding: 10px 16px;
    background-color: var(--blue);
    width: 150px;
    text-align: center;
    font-family: var(--fmain);
    letter-spacing: 0.45px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
    display: block;
    margin: 0 auto;
}

.btn:hover,
button.btn:hover,
a.btn:hover {
    background-color: var(--dBlue);
}

/* ============================================
   UTILITY
   ============================================ */
.no-stations {
    text-align: center;
    padding: 3rem;
    color: var(--lgrey);
    font-family: var(--fsecond);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .main-header {
        width: 96%;
        margin: 8px auto 1rem auto;
    }
    
    .main-header .app-title h2 {
        font-size: 20px;
    }
    
    .main-content {
        padding: 0.5rem;
    }
}

/* ============================================
   LARGE SCREENS (TV) - 2K/QHD i wiÄ™ksze
   ============================================ */
@media (min-width: 2560px) {
    html, body {
        font-size: 20px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.75rem; }
    h3 { font-size: 2.5rem; }
    h4 { font-size: 1.75rem; }
    
    .main-header {
        margin: 2rem auto;
    }
    
    .main-header .app-title h2 {
        font-size: 40px;
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    .main-footer {
        height: 50px;
        padding: 12px 20px;
    }
    
    .main-footer p {
        font-size: 1rem;
    }
    
    .btn,
    button.btn,
    a.btn {
        font-size: 16px;
        padding: 14px 24px;
        width: 200px;
    }
    
    .no-stations {
        padding: 5rem;
        font-size: 1.5rem;
    }
}

/* 4K i wiÄ™ksze */
@media (min-width: 3840px) {
    html, body {
        font-size: 24px;
    }
    
    h1 { font-size: 4rem; }
    h2 { font-size: 3.5rem; }
    h3 { font-size: 3rem; }
    h4 { font-size: 2.25rem; }
    
    .main-header {
        margin: 2.5rem auto;
    }
    
    .main-header .app-title h2 {
        font-size: 52px;
    }
    
    .main-content {
        padding: 2rem;
    }
    
    .main-footer {
        height: 60px;
        padding: 16px 24px;
    }
    
    .main-footer p {
        font-size: 1.25rem;
    }
    
    .btn,
    button.btn,
    a.btn {
        font-size: 20px;
        padding: 18px 30px;
        width: 250px;
    }
    
    .no-stations {
        padding: 6rem;
        font-size: 2rem;
    }
}