/* =========================
   IMPORT CZCIONEK
========================= */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Poppins:wght@500;600;700&display=swap');

/* =========================
   PODSTAWY
========================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: #f6f6f6;
    color: #14303a;
}

a {
    color: #14303a;
    text-decoration: none;
}

a:hover {
    color: #cfb579;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}

/* =========================
   KONTENER
========================= */
.container {
    max-width: 1200px;
    margin: 40px auto;
    background: #ffffff;
    padding: 25px;
}

.container-small {
    width:600px;
    background: white url("logo.png") right 25px top 20px no-repeat; 
}

/* =========================
   FORMULARZE (LOGIN / REGISTER)
========================= */
form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    font-family: 'Open Sans', sans-serif;
}

form button {
    margin-top: 20px;
    background: #cfb579;
    border: none;
    padding: 10px 18px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    color: #14303a;
}

form button:hover {
    opacity: 0.85;
}

/* =========================
   KOMUNIKATY
========================= */
.error {
    background: #ffe5e5;
    padding: 10px;
    margin-bottom: 15px;
}

.success {
    background: #e6f5e6;
    padding: 10px;
    margin-bottom: 15px;
}

/* =========================
   TOP BAR (PANELE)
========================= */
.panel-top {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-top strong {
    font-family: 'Poppins', sans-serif;
}
.panel-top .add-new{
    color:green;
    display:inline-block;
    padding:4px 10px;
}
.panel-top .add-new:hover{
    color:#25dd35;
}

.panel-top div a:last-of-type {
    background:red;
    color:white;
    padding:4px 10px;
    display:inline-block;
}
.panel-top div a:last-of-type:hover {
    background:rgb(255, 95, 95);
}

/* =========================
   TABELE (DASHBOARD / ADMIN)
========================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background: #f2f2f2;
    font-family: 'Poppins', sans-serif;
}

tr:hover {
    background: #fafafa;
}
img {max-width:100%;}
img.thumb {
    width: 80px;
    height: auto;
}

/* =========================
   STATUSY OGŁOSZEŃ
========================= */
.status-APPROVED { color: green; font-weight: bold; }
.status-PENDING  { color: orange; font-weight: bold; }
.status-REJECTED { color: red; font-weight: bold; }

/* =========================
   PRZYCISKI / LINKI AKCJI
========================= */
.btn {
    background: #cfb579;
    padding: 6px 12px;
    border: none;
    color:white;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: inline-block;
}

.btn:hover {
    opacity: 0.85;
    color:white;
}

.btn-danger {
    background: #e06b6b;
    color: #fff;
}

.btn-success {
    background: #6bbf6b;
    color: #fff;
}

/* =========================
   LINKI POMOCNICZE
========================= */
.links {
    margin-top: 15px;
}
