.field .select {
    position: relative;
    display: inline-block;
    max-width: 200px;
    width: 100%;
}

.field .select select {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    padding: 10px 40px 10px 14px;
    border: 2px solid #c3d3ff;
    border-radius: 12px;
    background-color: #fff;

    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 18px;

    font: inherit;
    color: #2b2b2b;
    line-height: 1.5;
    transition: border-color .15s ease, box-shadow .15s ease;
    cursor: pointer;
    letter-spacing: normal !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: normal !important;
    white-space: nowrap !important;
    min-height: 50px;
}

.event-info {
    margin-top: 30px;
}

.event-info__card {
    border: 2px solid #c3d3ff;
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, .15);
}

.event-info__row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px dashed #e5e9ff;
}

.event-info__row:last-child {
    border-bottom: none;
}

.event-info__row>span {
    color: #5c6bc0;
    font-weight: 700;
    white-space: nowrap;
}

.event-info__row>strong {
    font-weight: 600;
    color: #2b2b2b;
}

.event-info__empty {
    color: #9aa0a6;
    padding: 8px 0;
}



.form-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin: 2rem auto;
    max-width: 800px;
}

.form-title {
    text-align: center;
    color: #363636;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.field {
    margin-bottom: 1.5rem;
}

.label {
    font-weight: 600;
    color: #363636;
    margin-bottom: 0.5rem;
}

.input,
.textarea,
.select select {
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.input:focus,
.textarea:focus,
.select select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.125em rgba(102, 126, 234, 0.25);
}

.radio {
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio:hover {
    color: #667eea;
}

.radio input[type="radio"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.location-item {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-item:hover {
    background: #e9ecef;
    border-color: #667eea;
}

.location-item input[type="radio"] {
    margin-right: 0.5rem;
}

.button.is-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.button.is-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.button.is-link {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    color: white;
}

.button.is-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.additional-members-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.member-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
    position: relative;
    animation: slideIn 0.3s ease;
}

.member-card:last-child {
    margin-bottom: 0;
}

.member-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.member-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.remove-member-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.remove-member-btn:hover {
    background: #ff5252;
    transform: translateY(-1px);
}

.member-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.member-form-grid .field {
    margin-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

@media (max-width: 768px) {
    .member-form-grid {
        grid-template-columns: 1fr;
    }
}

.section-divider {
    border: none;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin: 2rem 0;
    border-radius: 1px;
    opacity: 0.3;
}

.field-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.field-group .label {
    color: #495057;
}

.conditional-field {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.submit-section {
    text-align: center;
    padding: 2.5rem 0 0 0;
    border-top: 1px solid #e9ecef;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .contact-grid2 .radio:first-of-type {
        padding-left: 8px !important;
    }

    .control .radio:first-of-type {
        padding-left: 8px !important;
    }

    .form-card {
        margin: 2rem 1rem;
        padding: 2.5rem 1rem;
    }

    .form-title {
        font-size: 1.35rem !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .table-responsive {
        overflow-x: auto;
    }

    .contact-grid2 {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .additional-members-container {
        padding: 0.5rem;
    }

    .field-group .field:first-of-type {
        margin-bottom: 20px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .field-group .field:first-of-type .input {
        padding: 0.5rem 0.75rem !important;
        margin-bottom: 20px;
    }

    .columns>.column {
        padding: 0 12px !important;
    }
}