.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-content-412 {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    width: 50%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow-3d);
    animation: slideInUp 0.4s ease-out;
}

.close-412 {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
}

.close-412:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.header-412 {
    font-family: var(--font-primary);
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtext-412 {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.form-row-412 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group-412 {
    margin-bottom: 16px;
}

.label-412 {
    display: block;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-412,
.select-412,
.textarea-412 {
    width: 100%;
    padding: 10px 12px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition-fast);
    font-family: var(--font-secondary);
}

.input-412:focus,
.select-412:focus,
.textarea-412:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    background: var(--dark-bg);
}

.textarea-412 {
    resize: vertical;
    min-height: 80px;
}

.select-412 option {
    background: var(--card-bg);
    color: var(--text-primary);
}

.btn11-hover {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    margin-top: 16px;
}

.btn11-hover:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-md);
}

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

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

@media (max-width: 768px) {
    .modal-content-412 {
        width: 90%;
        padding: 24px;
        margin: 20px;
    }
    
    .form-row-412 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .header-412 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .modal-content-412 {
        width: 95%;
        padding: 20px;
    }
}
