/* style.css */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Pozwala na scrollowanie w dół, gdy formularz rośnie */
    min-height: 100vh;
    margin: 0;
    padding: 40px 20px; /* Odstępy od krawędzi ekranu */
    box-sizing: border-box;
}

.container {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

h2 { color: #333; margin-bottom: 10px; }
p { color: #666; line-height: 1.5; }

.input-group { margin: 20px 0; text-align: left; }

input[type="text"], textarea, select {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    font-family: inherit;
}

input[type="text"]:focus, textarea:focus, select:focus {
    border-color: #6c5ce7;
    outline: none;
}

.radio-group { text-align: left; margin: 20px 0; }

.radio-option {
    display: block;
    background: #f8f9fa;
    margin: 12px 0;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}

.radio-option:hover { background: #f1f2f6; }
.radio-option input { margin-right: 10px; }

.btn-next, .btn-submit, .btn-add {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-next { background-color: #6c5ce7; color: white; }
.btn-next:hover { background-color: #5849c4; }

.btn-submit { background-color: #2ecc71; color: white; }
.btn-submit:hover { background-color: #27ae60; transform: translateY(-2px); }

.btn-add { background-color: #f39c12; color: white; padding: 12px; margin-top: 10px;}
.btn-add:hover { background-color: #e67e22; }

/* Nowy styl dla przycisku usuwania */
.btn-remove {
    background-color: #ff7675;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}
.btn-remove:hover { background-color: #d63031; }

.error { color: #e74c3c; font-size: 14px; margin-top: 15px; }
.summary-icon { font-size: 60px; margin: 20px 0; }

/* Style dla dynamicznie dodawanych gości */
.guest-entry {
    background: #fdfdfd;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.guest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.guest-heading {
    margin: 0;
    font-size: 16px;
    color: #6c5ce7;
}

.guest-entry label {
    display: block;
    margin: 10px 0 5px 0;
    font-size: 13px;
    color: #777;
    font-weight: bold;
}