{% load static %}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.woff2') format('woff2'),
         url('../fonts/OpenSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Bold.woff2') format('woff2'),
         url('../fonts/OpenSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-SemiBold.woff2') format('woff2'),
         url('../fonts/OpenSans-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}



body {  
    font-family: 'Open Sans', sans-serif;

    background-color: #faf8f5 !important; /* Bardzo jasne, złoto-szare tło */
        color: #003C73;
        background-image: url("/static/img/logo-sygnet-white.png") !important;
        background-repeat: no-repeat !important;
        background-size: 800px auto !important; /* Stała szerokość */
        background-position: center 150px !important; /* 100px od góry */
        padding-left: 100px !important; 
        padding-right: 100px !important; 
        
 
    }

html, body {
        min-height: 100vh; /* Ustawia stronę na pełną wysokość ekranu */
    }

body, html {
        margin: 0 !important;
        padding: 0 !important;
    }
    

/* 🔹 Nagłówek */
header {
    width: 100%;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
}

.page-title {
    text-align: center;
    font-size: 24px; /* Możesz dostosować */
    font-weight: bold;
    margin-bottom: 20px;
}

.return-link {
    display: block;
    text-align: center;
    margin-top: 20px;
}

/* 🔹 Nawigacja */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 5px 20px;
}

/* 🔹 Logo */
.nav-left {
    display: flex;
    align-items: center; /* Centrowanie logo */
    padding: 0;
    margin: 0;
}
.nav-left img {
    height: 50px;
    width: auto;
    display: block;
}


/* 🔹 Menu główne */
.nav-center {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.nav-center li {
    margin: 0 15px;
}

.nav-center a {
    text-decoration: none;
    font-weight: 600;
    color: #005195;
    transition: color 0.3s ease;
}

.nav-center a:hover, .nav-center .active {
    color: #00A462;
    font-weight: 700;
}

/* 🔹 Menu logowania */
.nav-right {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.nav-right a {
    color: #003C73; /* Granatowy */
    font-weight: 600;
    text-decoration: none;
}

.nav-right a:hover {
    color: #00A462; /* Zielony po najechaniu */
}

.nav-right li {
    margin: 0 15px;
}

.main-container {
    display: flex;
}

.sidebar {
    width: 220px;
    background-color: #f7f5f1 !important; 
    padding: 20px;
    min-height: 100vh;
    border-right: 1px solid #ccc;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar ul li a {
    text-decoration: none;
    font-weight: 600;
    color: #003C73;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.sidebar ul li a:hover {
    background-color: #00A462;
    color: white;
}

.container {
    flex-grow: 1;
    padding: 40px;
}

.container {
    max-width: 1200px;
    margin: 30px auto;  /* Centrowanie */
    padding: 20px;
}


form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 10px; /* odstępy między polami */
}

/* 🔹 Poprawa odstępów dla list punktowanych w formularzach */
form ul {
    margin-top: 5px;  /* Zmniejszony odstęp nad listą */
    margin-bottom: 5px;  /* Zmniejszony odstęp pod listą */
    padding-left: 20px;  /* Standardowe wcięcie */
}

/* 🔹 Poprawa odstępów dla poszczególnych punktorów */
form ul li {
    margin-bottom: 3px;  /* Minimalny odstęp między punktami */
    line-height: 1.3; /* Mniejsza wysokość linii */
}

form p {
    margin-top: 3px; /* Zmniejszony odstęp nad */
    margin-bottom: 5px; /* Mniejszy odstęp pod */
    font-size: 14px; /* Jeśli za duże litery */
    color: #666; /* Lekko przygaszony tekst */
}


/* Ogólne style dla pól formularzy – jednolita szerokość */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
    display: block;
    box-sizing: border-box;
}

form div {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Styl dla wszystkich przycisków w formularzach */
button, .btn-submit {
    background-color: #003C73; /* Domyślnie niebieskie */
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: background 0.3s ease;
    box-sizing: border-box; 
}

.btn-danger {
    color: #dc3545; /* Czerwony tekst */
    background: none;
    border: none;
    padding: 0;
    font-weight: normal;
    text-transform: none;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.btn-danger:hover {
    color: #c82333; /* Ciemniejszy czerwony */
    text-decoration: underline;
}

.form-upload {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    width: 100%;
}

.document-info {
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 20px;
}

/* Nagłówki wewnątrz formularzy */
.form-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
}

/* Kolory nagłówków */
.security-title {
    background: #e8f5e9;
    color: #2e7d32;
}

.verification-title {
    background: #e3f2fd;
    color: #1565c0;
}

.compare-title {
    background: #F5E5C7;
    color: #E5BD73;
}

.vault-title {
    background: #E2E3E3;
    color: #4D4D4D;
}

/* Przyciski */
.btn-green {
    background: #00A462;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.btn-blue {
    background: #003C73;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.icon-white {
    color: white
}


/* Link powrotu */
.return-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #6c757d;
}

.lucide-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

/* Sprawdzić dlaczego nei dziła */
.lucide-icon-3 {
    width: 15px;
    height: 15px;
    stroke: #005195; /* Granatowy */
    vertical-align: middle;
    margin-right: 8px;
}

/* 🔹 Nagłówki */
h1, h2, h3, .page-title, .form-title {
    color: #003C73; /* Granatowy */
}

h3 {
    font-weight: 600; /* Semi Bold */
}

.verification-box {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* 🔹 Zakładki */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.tab-btn {
    background: #ddd;
    border: none;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    background: #005195;
    color: white;
}

/* 🔹 Zawartość zakładek */
.tab-content {
    display: none;
    padding: 15px;
    background: white;
    border-radius: 8px;
    text-align: center; /* Wyśrodkowanie treści */
}

.tab-content.active {
    display: block;
}

/* 🔹 Układ kolumnowy dla zakładek */
.tab-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.tab-column {
    flex: 1;
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 🔹 Kontener wyników */
.verification-container {
    max-width: 80%;
    margin: auto;
    background: white;
    padding: 15px; /* Zmniejszamy padding, było 20px */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 🔹 Pudełko wyników */
.verification-box {
    background: #f9f9f9;
    padding: 10px; /* Było 15px, zmniejszamy */
    border-radius: 8px;
    margin-bottom: 10px; /* Było 20px, zmniejszamy */
}

.verification-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.verification-column {
    flex: 1;
    background: #f9f9f9; /* Szary, jak wynik weryfikacji */
    padding: 10px; /* Było 20px, zmniejszamy */
    border-radius: 8px; /* Ujednolicamy z wynikiem weryfikacji */
    box-shadow: none; /* Usuwamy cień */
}

/* 🔹 Wyniki weryfikacji */
.result-value {
    font-weight: 600;
    color: black;
}

/* 🔹 Zakładki */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px; /* Odstępy między zakładkami */
    margin-bottom: 15px;
}

.tab-btn {
    background: #ddd;
    border: none;
    padding: 8px 12px; /* Zmniejszone paddingi */
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px; /* Mniejsza czcionka */
    width: 160px; /* Zmniejszona szerokość */
    text-align: center;
}

.tab-btn.active {
    background: #003C73;
    color: white;
}

/* 🔹 Poprawiony margines dla nagłówków */
.page-title {
    margin-top: 10px;
    margin-bottom: 15px;
}

/* 🔹 Ustawienie dwóch formularzy obok siebie */
.form-container {
    display: flex;
    justify-content: center; /* Środek strony */
    gap: 15px; /* Minimalny odstęp między formularzami */
    align-items: flex-start;
    max-width: 800px; /* Ograniczona maksymalna szerokość */
    margin: auto; /* Centrowanie */
}

/* 🔹 Każdy formularz */
.form-box {
    flex: 1;
    max-width: 40%; /* Formularze są węższe */
    min-width: 300px; /* Nie schodzi poniżej tej wartości */
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 🔹 Na małych ekranach (<850px) */
@media (max-width: 850px) {
    .form-container {
        flex-direction: column; /* Formularze jeden pod drugim */
        gap: 15px; /* Minimalny odstęp */
    }
    .form-box {
        max-width: 100%; /* Pełna szerokość */
    }
}


    .btn-gold {
        background-color: #E5BD73;
        color: white;
        border: none;
        padding: 10px 20px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
    }
    .btn-download {
        padding: 6px 12px;
        border-radius: 4px;
    }
    .status-ok {
        color: #00A462;
        font-weight: bold;
    }
    .status-warning {
        color: #E5BD73;
        font-weight: bold;
    }
    .btn-link {
        color: red;
        border: none;
        padding: 0;
    }
    
    }
    /* Ustawienie niebieskiego koloru dla ikony upload w przycisku */
    .btn-gold i[data-lucide="upload"] {
        color: #003C73;
    }



