* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
/*    background: #f2f2f2; */
    padding: 20px;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
}

.container {
    max-width: 1200px; /* było 800px */
    margin: 40px auto;
    background: #fff;
    padding: 60px;     /* było 40px */
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    opacity: 0.93;
}

.logo {
    display: block;
    margin: 0 auto 20px auto;
    max-height: 120px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.small {
    color: #555;
    font-size: 0.95em;
    text-align: center;
    margin-bottom: 30px;
}

.info {
    background: #e0e0e0; /* ciemniejsze tło */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 16px rgba(60,60,60,0.18); /* mocniejszy cień */
    margin-bottom: 30px;
}

.info p {
    margin: 10px 0;
    font-size: 16px;
    text-align: justify;
    line-height: 1.6;
    text-decoration: none;
}

.info strong {
    text-decoration: none;
}

.box {
    text-align: center;
    margin-bottom: 30px;
}

.btn-duzy {
    background: linear-gradient(90deg, #28a745 0%, #218838 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 40px;
    border: none;
    border-radius: 40px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    letter-spacing: 0.5px;
}

.btn-duzy:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.tabela-3d-ramka {
    margin: 32px auto;
    width: 100%;
    min-height: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: none;
    padding: 0;
    overflow-x: auto;
}

.tabela-3d {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-size: 15px;   /* było 20px, zmniejszono */
    border: 1px solid #bdbdbd;
}

.tabela-3d th, .tabela-3d td {
    padding: 12px 18px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.tabela-3d th {
    background: #f3f6fa;
    font-weight: 600;
    color: #333;
}

.tabela-3d tr:last-child td {
    border-bottom: none;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.35);
  overflow: auto;
}
.modal-content {
  background: #fff;
  margin: 40px auto;
  padding: 40px 30px 30px 30px;
  border-radius: 15px;
  max-width: 1100px;
  min-width: 700px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  position: relative;
}
.close {
  position: absolute;
  right: 25px; top: 15px;
  font-size: 32px;
  color: #888;
  cursor: pointer;
}
.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
}
.form-col {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-col label {
  font-weight: 500;
  font-size: 15px;
}
.form-col input, .form-col select, .form-col textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #bbb;
  border-radius: 7px;
  font-size: 15px;
  background: #fafbfc;
  margin-top: 2px;
}
.form-col textarea { resize: vertical; }
.gw { color: #d00; font-weight: bold; }
.oswiadczenia {
  margin-top: 10px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.oswiadczenia label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  width: 100%;
  font-weight: normal;
  cursor: pointer;
  white-space: normal;
}

.oswiadczenia input[type="checkbox"] {
  margin: 0 8px 0 0;
  accent-color: #28a745;
}
.oswiadczenia a {
  display: inline;
  word-break: break-word;
  overflow-wrap: anywhere;
}


