.card-custom {
    background-color: #2d2d2d;
    border-radius: 20px;
    padding: 40px 35px;
    max-width: 600px;
    width: 100%;
}

.card-custom h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 35px;
}

.form-label {
    color: #d0d0d0;
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 400;
}

/* Кастомное поле селекта */
.custom-select-field {
    background-color: #444444;
    color: #f0a030;
    border: none;
    border-radius: 12px;
    padding: 12px 40px 12px 16px;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: box-shadow 0.2s;
}

.custom-select-field:hover {
    box-shadow: 0 0 0 2px rgba(240, 160, 48, 0.3);
}

.custom-select-field::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #f0a030;
}

/* Оверлей (затемнение фона) */
.select-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1040;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

.select-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Модальное окно со списком */
.select-modal {
    background-color: #2d2d2d;
    border-radius: 16px;
    padding: 0;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.25s ease;
    overflow: hidden;
}

.select-modal-header {
    padding: 20px 24px 12px;
    border-bottom: 1px solid #444;
}

.select-modal-header h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.select-modal-body {
    padding: 8px 0;
    max-height: 300px;
    overflow-y: auto;
}

.select-modal-body::-webkit-scrollbar {
    width: 6px;
}

.select-modal-body::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 3px;
}

.select-option {
    padding: 14px 24px;
    color: #f0a030;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.select-option:hover {
    background-color: #3a3a3a;
}

.select-option.selected {
    background-color: #3a3a3a;
    font-weight: 600;
}

.select-option.selected::after {
    content: '✓';
    color: #f0a030;
    font-weight: bold;
}

.btn-done {
    background-color: #2196F3;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 14px 60px;
    font-size: 1.15rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-done:hover {
    background-color: #1976D2;
    color: #ffffff;
}

.btn-done:focus {
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.4);
}

.custom-input {
    background-color: #444444;
    color: #f0a030;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1.1rem;
    width: calc(100% - 70px);
    display: inline-block;
}

.custom-input:focus {
    background-color: #444444;
    color: #f0a030;
    border-color: #f0a030;
    box-shadow: 0 0 0 0.2rem rgba(240, 160, 48, 0.25);
    outline: none;
}

.custom-input::placeholder {
    color: #888;
}

.input-suffix {
    color: #f0a030;
    font-size: 1.1rem;
    margin-left: 8px;
}

/* Убираем стрелки у number input */
.custom-input::-webkit-outer-spin-button,
.custom-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-input[type=number] {
    -moz-appearance: textfield;
}