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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    padding: 40px;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 32px;
}

form,
fieldset {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: none;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #000;
    background-color: #fafafa;
    transition: all 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #000;
    background-color: #fff;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.gender-options {
    display: flex;
    gap: 12px;
}

.gender-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.gender-option:hover {
    background-color: #f0f0f0;
}

.gender-option input {
    display: none;
}

.gender-option:has(input:checked) {
    background-color: #000;
    color: #fff;
    border-color: #000;
    font-weight: 600;
}

.multiselect-wrapper {
    position: relative;
}

.multiselect-trigger {
    cursor: pointer;
    caret-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.multiselect-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
}

.multiselect-wrapper.active .multiselect-dropdown {
    display: block;
}

.tech-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.tech-option:hover {
    background-color: #f5f5f5;
}

.tech-option input[type="checkbox"] {
    display: none;
}

.custom-check {
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tech-option input:checked+.custom-check {
    background-color: #000;
    border-color: #000;
}

.tech-option input:checked+.custom-check::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.buttons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

button {
    flex: 1;
    padding: 14px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

button[type="reset"] {
    background: transparent;
}

button[type="reset"]:hover {
    background: #f5f5f5;
}

button[type="submit"] {
    background: #000;
    color: #fff;
}

button[type="submit"]:hover {
    background: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

table th,
table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

table th {
    background: #f9f9f9;
}

@media (max-width: 768px) {
    .container {
        padding: 24px;
        box-shadow: none;
    }

    .form-row,
    .gender-options {
        flex-direction: column;
    }
}