/* RESET */
*,*::before,*::after{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

/* VARIABLES */
:root{
    --bg:#ffffff;
    --text:#111111;
    --muted:#555;
    --square:#b2d6f1;
    --accent:#000;
    --radius:12px;
    --maxw:1000px;
    --link-color:#1f1f1f;
    --link-hover-bg:#000;
    --link-hover-color:#fff;
}

/* BODY */
html, body {
    height:100%;
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    display:flex;
    flex-direction:column;
    min-height:100vh;
    position:relative;
    overflow-x:hidden;
    line-height:1.6;
}

/* BACKGROUND SQUARES */
body::before,
body::after{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    background:var(--square);
    z-index:0;
    border-radius:8px;
}

body::before{
    top:40px;
    left:-80px;
    transform:rotate(15deg);
}

body::after{
    bottom:80px;
    right:-60px;
    transform:rotate(-10deg);
}

body, body * {
    font-family: 'Inter', system-ui, sans-serif;
}


/* HEADER */
header{
    padding:30px 20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    position:relative;
    z-index:2;
}

/* LOGO */
.logo{
    font-size:28px;
    font-weight:600;
    letter-spacing:.05em;
    padding:20px 40px;
    background:#000;
    color:#fff;
    border-radius:var(--radius);
    text-align:center;
}

.align_center {
    text-align: center;
}

/* MAIN */
main{
    flex:1;
    width:100%;
    max-width:var(--maxw);
    margin:auto;
    padding:30px 20px;
    display:flex;
    flex-direction:column;
    gap:30px;
    position:relative;
    z-index:2;
}

/* CARD SECTIONS */
section{
    background:#fff;
    border:1px solid #eee;
    border-radius:var(--radius);
    padding:30px;
    box-shadow:0 6px 20px rgba(0,0,0,0.03);
}

/* HEADINGS & TEXT */
h1,h2,h3,h4,h5,h6{
    font-weight:600;
    color:#000;
    margin-bottom:0.5em;
}

p{
    color:#333;
    font-size:15px;
    margin-bottom:1em;
}

/* NAV LINKS */
.links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;    
}

.links_level_2 {
    gap:5px;
    padding: 4px 8px;   /* zmniejsz padding */
    line-height: 1.2;   /* mniejsza wysokość linii */
    font-size: 14px;    /* opcjonalnie mniejsza czcionka */        
}

.links a{
    text-decoration:none;
    padding:10px 20px;
    border-radius:999px;
    color: var(--link-color);
    /*background:#ffd6e2;*/
    background:#f7f7f7f7;
    font-weight:500;
    transition: all 0.2s ease;
    border:1px solid #ddd;
}

.links a:hover{
    background: white; 
    color:var(--link-hover-color);
    text-decoration:none;
}


/* LINKI GLOBALNIE */
a, .links a {
    color: #1f1f1f;       /* ciemnoszary */
    text-decoration: none; /* usuwa podkreślenie */
    transition: color 0.2s, background 0.2s;
}

/* LINKI HOVER */
a:hover, .links a:hover {
    color: #000;            /* opcjonalnie ciemniejszy przy hover */
    text-decoration: none;  /* nadal bez podkreślenia */
}


a {
    text-decoration: none;        /* usuwa podkreślenie */
    color: #1f1f1f;               /* ciemnoszary */
    /*background: #CFFF04;           delikatne tło, widoczne na białym tle */
/**/    background: #CCBCBC;          /* ciemna cegła */
    background: #a9a9a9;          /* szary */
    padding: 10px 20px;           /* odstęp wewnętrzny */
    border-radius: 999px;          /* zaokrąglone końce */
    border: 1px solid #ddd;        /* obramowanie */
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;         /* żeby padding działał jak na przycisku */
}

/* hover dla wszystkich linków */
a:hover {
    background: #000;             /* czarne tło */
    color: #fff;                  /* biały tekst */
    text-decoration: none;
}

/* BUTTONS */
button,
input[type="submit"] {
    background:#000;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:999px;
    font-size:14px;
    cursor:pointer;
    transition:.2s;
}

.link_like_button {
    background:#000;
    color:#fff;
    border:none;
    padding:4px 10px;
    border-radius:999px;
    font-size:10px;
    cursor:pointer;
    transition:.2s;
}

button:hover,
input[type="submit"]:hover{
    background:#333;
}

/* FORM ELEMENTS */
input,
textarea,
select{
    width:100%;
    padding:10px 12px;
    border-radius:8px;
    border:1px solid #ddd;
    font-size:14px;
    margin-bottom:10px;
}

input:focus,
textarea:focus,
select:focus{
    outline:none;
    border-color:#000;
}

/* TABLE */
table{
    width:100%;
    border-collapse:collapse;
    font-size:14px;
}

th{
    text-align:left;
    padding:12px;
    border-bottom:2px solid #eee;
}

td{
    padding:10px;
    border-bottom:1px solid #f2f2f2;
}

tr:hover{
    background:#fafafa;
}

/* STATUS */
.status_cancelled{ background:#ffe6e6; }
.status_ordered{ background:#e8ffe8; }
.status_ended{ background:#fff1d6; }

.light-grey-cell{ background:#b2d6f1; }

/* FOOTER */
footer{
    margin-top:auto;
    padding:25px;
    text-align:center;
    font-size:13px;
    color:#999;
    border-top:1px solid #eee;
}

/* INSTALL BUTTON */
#installBtn{
    display:none;
    margin-top:15px;
}

/* RESPONSIVE */
@media (max-width:700px){
    main{ padding:20px; }
    section{ padding:20px; }
    .logo{ font-size:22px; padding:15px 25px; }
}

.important-text {
    color: #d32f2f; /* czerwony – często używany do oznaczania czegoś ważnego */
    font-weight: 600; /* lekko pogrubiony */
}
