body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    color: #2c3e50;
    text-align: center;
}

.intro {
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
}

.word-counter {
    margin-top: 5px;
    text-align: right;
    color: #666;
}

.options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.option-group {
    flex: 1;
    min-width: 200px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

.option-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.option-label {
    flex: 1;
    font-weight: bold; /* Pogrubienie tekstu dla lepszej widoczności */
}

.checkbox-group {
    margin-bottom: 10px;
    display: flex; /* Dodane dla lepszego wyrównania */
    align-items: center; /* Wyrównanie elementów w poziomie */
}

input[type="checkbox"] {
    margin-right: 8px; /* Zwiększony odstęp */
    min-width: 16px; /* Stała szerokość dla lepszego wyrównania */
    height: 16px; /* Większy rozmiar dla lepszej widoczności */
}

select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
    min-width: 120px; /* Zapewnia spójną szerokość */
    font-size: 15px; /* Zwiększona czcionka dla lepszej widoczności */
}

.symbols-info {
    background-color: #f0f7ff;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 0.9em;
}

button {
    background-color: #4f883d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    margin: 20px auto;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

#info {
    margin: 15px 0;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.info-warning {
    background-color: #ffe0e0;
    color: #a52a2a;
}

.info-success {
    background-color: #e0ffe0;
    color: #2a7d2a;
}

#preview {
    width: 100%;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 20px;
    justify-content: center;
  }  

.dobble-card {
    width: 300px;
    height: 300px;
    border: 1px solid #ddd;
    border-radius: 50%;
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.word {
    position: absolute;
    transform-origin: center;
    max-width: 90%;
    text-align: center;
    line-height: 1.2;
    padding: 5px; /* Zwiększono odstęp wokół tekstu */
}


#downloadSection {
    text-align: center;
    margin-top: 30px;
    display: none;
}

#downloadBtn {
    background-color: #4f883d;
}

#downloadBtn:hover {
    background-color: #219653;
}

footer {
    margin-top: 30px;
    text-align: center;
    color: #777;
    font-size: 14px;
}
